In my MVC controller, i have two action methods which are rendering View, other 6 Action Methods are either HttpGet
or HttpPost
. I want to do the below
for ActionMethods rendering View it will be "controller/action". But for the GET/POST, i want it to be api/whatevernameilike.
Is it acheivable in asp.net mvc core
?
TIA