摘要:
[HttpPost] vs [AcceptVerbs(HttpVerbs.Post)][转][HttpPost] vs [AcceptVerbs(HttpVerbs.Post)] is there a difference?1、the HttpPost attribute is a short for the HttpVerbs.Post one but since MVC 2.0.2、[HttpPost] is shorthand for [AcceptVerbs(HttpVerbs.Post)]. The only difference is that you can't use 阅读全文