mvc Action上面加 [HttpPost]

mvc  Action上面加 [HttpPost]  意思就是这个action只能响应post请求. 如果发get请求这里是没有响应的

原文地址:https://www.cnblogs.com/muxueyuan/p/4057164.html