Say I have those methods in a controller:
Get()
[HttpGet]
FindSomeone()
I have a default route, and a route with actions: routeTemplate: "api/{controller}/{action}".
Works fine when I call /mycontroller/FindSomeone, but fails with multiple matching routes error when I call GET /mycontroller/.
Is there a way to make default route to match Get() method only, and skip the FindSomeone() method?
/mycontroller/get- cuongle