One of the advantages is that you can write code, for example:
<% using (Html.BeginForm()) { %>
... instead of a code like:
<% using (Html.BeginForm(new RouteValueDictionary{ "action", "Update" })) { %>
Similarly for error handling:
if (!ModelState.IsValid)
{
return View(model);
}
... instead of:
if (!ModelState.IsValid)
{
return View("Edit", model);
}
The MVC convention is that the related material is called the same, and not that your actions must have specific names.
source
share