View :
using (Html.BeginForm()) {<input type="submit" value="Delete">}
Controller :
[HttpPost]
public ActionResult DeleteLink(int id, FormCollection collection)
{
}
How view determine which field is key and method contains first param for key value???
MOBY compare model.fields and controllerMethod.params? Need check
No comments:
Post a Comment