asp.net mvc的参数映射,返回404了
访问http://localhost:2797正常
访问http://localhost:2797/1错误,提示404了
routes配置是
routes.MapRoute(
name: "Default",
url: "{controller}/{action}/{id}",
defaults: new { controller = "Account", action = "Login", id = UrlParameter.Optional }
);
与不知道错在哪里了?请多多指教,谢谢了