次のルートを設定しています。
context.MapRoute(
"MyAccount_default",
"MyAccount/{controller}/{action}/{id}",
new { action = "Index", id = UrlParameter.Optional }
);
および次のリンク:
/MyAccount/Access/Login
/MyAccount/Access/Logout
/MyAccount/Access/Register
次のように入力するようにルートマップを作成する方法はありますか?
/Login
/Logout
/Register
リクエストをMyAccountエリア、Accessコントローラー、およびログイン/ログアウトまたは登録メソッドに送信しますか?ルートマップがある場合、それはMyAccountエリアのルートマップ内に属することができますか、それともその外にある必要がありますか?