Multiple actions were found that match the request Web API?

后端 未结 8 1214
再見小時候
再見小時候 2020-12-09 08:09

I am using web API and i am new in this. I am stuck in a routing problem. I have a controller with following actions :

    // GET api/Ceremony
    public IEn         


        
8条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-09 08:53

    Please check you have two methods which has the different name and same parameters.

    If so please delete any of the method and try.

    This error was raised because there are two methods which are looking for same parameters. try to delete any one of them and try...

提交回复
热议问题