sorry for my bad english, but let's to the problem.
i am trying to do a POST into the action complete of the controller occurrence, but the action don't receive the POST and the javascript console returns this error 500 Internal Server Error
This is my Ajax.actionlink()
@Ajax.ActionLink("Complete", "Complete", "Occurrence", new { id = Model.Id }, new AjaxOptions { HttpMethod = "POST" }) And this is my action Complete into the controller Occurrence
[HttpPost] [ValidateAntiForgeryToken] public ActionResult Complete(int id) { return new HttpStatusCodeResult(200); } Someone has passed for the same situation? Thanks for the attention!