protected void Application_Start() { RouteConfig.RegisterRoutes(RouteTable.Routes); AreaRegistration.RegisterAllAreas(); AuthDbConfig.RegisterAdmin(); ModelBinders.Binders.Add(typeof(Post), new PostModelBinder()); }
protected void Application_Start() { AreaRegistration.RegisterAllAreas(); RouteConfig.RegisterRoutes(RouteTable.Routes); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); AuthDbConfig.RegisterAdmin(); }