Ok so I got action that is in controller and code is:
[HttpPost]
public ActionResult SaveRow(int? id)
{
//some db operations.
return RedirectToAction("Index");
}
and in view I got
@Html.ActionLink(Translation.Accept, "SaveRow", new { id = item.New.RecId })
I got error 404 when I click button is possible to run this action without redirecting to url /SaveRow/
?
Maybe this button is used wrong I'm new in mvc5 so be patient.