我有两条路线
context.MapRoute("",
"Route1/{controller}/{programid}/{action}"
);
context.MapRoute("",
"Route2/{controller}/{programid}/{action}"
);
Url.Action("action2", "controller2", new{programid = 123});
结果 URL:Route1/controller2/123/action2
是否可以获得以下网址:
预期网址:Route2/controller2/123/action2