【转】.NET MVC控制器分离到类库的方法
//系统默认路由routes.MapRoute(name: "Default",url: "{controller}/{action}/{id}",defaults: new {controller = "Login", action = "Index", id = UrlParameter.Optional},namespaces: new string[] {"BookSystem_Controllers"});
来源: http://www.bubuko.com/infodetail-2030153.html