MVC Ajax.ActionLink doesn't find POST method

前端 未结 4 1399
终归单人心
终归单人心 2021-02-05 16:17

I have a POST method declared in my controller:

[AcceptVerbs(HttpVerbs.Post)]
public ActionResult UpdateComments(int id, string comments)
{
    // ... 
}
         


        
4条回答
提交回复
热议问题