Remark :
MVC5 Multiple types were found that match the controller named ‘Home’
1 2 3 4 5 6 7 |
routes.MapRoute( "Default", "{controller}/{action}/{id}", new { controller = "Home", action = "Index", id = UrlParameter.Optional }, ); |
TO
1 2 3 4 5 6 7 8 |
routes.MapRoute( "Default", "{controller}/{action}/{id}", new { controller = "Home", action = "Index", id = UrlParameter.Optional }, namespaces: new[] { "RecreationalServicesTicketingSystem.Controllers" } ); |