Below you find a list of code examples that have been added for this attribute.
[HttpPost] public ActionResult Edit(int id) {}
In earlier versions of ASP.NET MVC, these action methods required more verbose syntax, as shown in the following example:
[AcceptVerbs(HttpVerbs.Post)] public ActionResult Edit(int id)
No links found.