Quantcast
Viewing all articles
Browse latest Browse all 26

Comment by MikelThief on Specify proper route to call a WebApi 2 Controller method

Indeed outes.MapHttpRoute("DefaultApiWithAction", "Api/{controller}/{action}"); will process route-attributes you specify just before your method in controller. You need to specify a custom one - the one that suits your needs.

Viewing all articles
Browse latest Browse all 26

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>