我在RouteConfig中有两条路线
routes.MapRoute(
name: "Default",
url: "{culture}/{controller}/{action}/{id}",
defaults: new { controller = "Desktop", action = "Index", wizard = "", culture = "he-IL", id = UrlParameter.Optional }
);
routes.MapRoute(
name: "Wizard",
url: "{wizard}/{culture}/{controller}/{action}/{id}",
defaults: new { controller = "Desktop", action = "Index", wizard = "AllManufucturer", culture = "he-IL", id = UrlParameter.Optional }
);
我正试图导航到
我尝试更改路由顺序,链接1不起作用,链接2正常工作,我希望网站将运行两个不同的路由模板
请问我错过了什么?
坦克你先进