I've got an existing ASP.Net Web API with the default routing:
config.Routes.MapHttpRoute(
name: "DefaultApi",
routeTemplate: "api/{controller}/{id}",
defaults: new { id = RouteParameter.Optional });
I've got a controller - TestController and I want to have a number of GET methods within this controller e.g.:
public IHttpActionResult MethodA() -> http://....../api/Test/MethodA
public IHttpActionResult MethodB() -> http://....../api/Test/MethodB
Is there any way I could do something like this without modifying the existing routing and breaking the current controllers/routing?