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