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…