When attempting to use ajax post, I encountered an internal server error. Here is my code snippet:
[HttpPost]
public PartialViewResult MezunGetir(string skip)
{
}
The ajax post looks like this:
$.post("/Home/MezunGetir", {skip:cekilenOgrenci}, function(result){});
The error message I received was:
POST 500 (Internal Server Error)
I have tried various solutions found on Stack Overflow, but none of them have worked. Any suggestions on how I can resolve this issue?