Is it possible to overload an api endpoint?
I would like the endpoint/route to be the exact same thing but the input parameters different. For example....
[HttpPost]
[Route("change-xxx")]
public async Task<IHttpActionResult> ChangeXxx(MyCPModel1 request)
And....
[HttpPost]
[Route("change-xxx")]
public async Task<IHttpActionResult> ChangeXxx(MyCPModel2 request)
I'm getting an "Multiple actions were found that match the request" error when I try it this way.