Public action method was not found on controller

后端 未结 1 1766
悲&欢浪女
悲&欢浪女 2021-01-13 01:58

I have the following controller method:

public ActionResult GetResults(string viewToReturn, int resultsPerPage, 
          string classification = null, stri         


        
相关标签:
1条回答
  • 2021-01-13 02:07

    I had the [HttpPost] attribute on the method. I could swear that I removed it earlier, but somehow after I took a break and came back, I saw it. After removing it, everything now works fine.

    0 讨论(0)
提交回复
热议问题