Here's my jquery code:
var url = "@Url.Action("Admin", "EditMovie")" + "/" + id;
$.get(url, function (data) {
alert("Data Loaded: ");
});
And this is my method inside the controller
public ActionResult EditMovie(int id)
{
return PartialView("BasicMovieInfo", repository.GetMovieByID(id));
}
I placed a break point inside the EditMovie action, but it is not being hit. Is there any reason for that?