routes.MapRoute(“name”, “{controller}”, null , new {httpMethod = new HttpMethodConstraint(“GET”)} );
routes.MapRoute(“name”, “{controller}”, null , new {httpMethod = new HttpMethodConstraint(“GET”)} );
转载于:https://www.cnblogs.com/yk00/archive/2013/03/12/2955575.html