[Solution found!] 使用AcceptVerbs属性可以做到这一点。它有点冗长但更灵活。 [AcceptVerbs(HttpVerbs.Get|HttpVerbs.Post)] public ActionResult SignIn() ...
確定! 回上一頁