WEBAPI

Post collection

So you want to have both WebAPI and MVC controllers in the same project. You add in the route configurations and the WebAPI controllers and come to run the project however you get an exception like this.. ExceptionMessage=Type 'MyProject.Web.Controllers.api.ProductController' does not have a default constructor…