This is possible using the AcceptVerbs attribute. It’s a bit more
verbose but more flexible.
[AcceptVerbs(HttpVerbs.Get|HttpVerbs.Post)]
public ActionResult
Index()
{
// Code goes here
}
C# | ASP.Net | MVC | SQL Server | jQuery | Java Script | LINQ | SSRS| Web Application | Bootstrap | Kendo