I'm confused, I created an area named 'Admin' and I have these 2 controllers:
/admin/users/...
and
/users/..
Now if I try and link to this url:
/users/list
I get this error:
Multiple types were found that match the controller named 'User'. This can happen if the route that services this request ('{controller}/{action}/{id}') does not specify namespaces to search for a controller that matches the request. If this is the case, register this route by calling an overload of the 'MapRoute' method that takes a
'namespaces' parameter.
I find it confusing why it doesn't work, can't it figure out that this UserController is the one that isn't in the Area?