私は混乱しています。「管理者」という名前の領域を作成し、次の 2 つのコントローラーを持っています。
/admin/users/...
と
/users/..
この URL にリンクしようとすると、次のようになります。
/users/list
次のエラーが表示されます。
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
「名前空間」パラメーター。
なぜそれが機能しないのかわかりません。この UserController がエリアにないものであることがわかりませんか?