I can decorate an action either with the [AcceptVerbs(HttpVerbs.Post)]/[AcceptVerbs(HttpVerbs.Get)]
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult Create(string title)
{
// Do Something...
}
or with the [HttpPost]/[HttpGet] attributes
[HttpPost]
public ActionResult Create(string title)
{
// Do Something...
}
Are they different?
[AcceptVerbs("GET")]
can stop an entry for that action being generated in the help docs. – Tildi