I have two types of controllers:
[1] Inherited from BaseController (namespace: Foo.Bar.Controllers)
[2] Inherited from BaseAPIController (namespace: Foo.Bar.Controllers.API)
How I can route all /api/{controller}/{action} requests to controllers [2] and all other request to controllers [1] ?
note: I don't use Web API framework, just MVC 5