Пример #1
0
 protected void Application_Start()
 {
     AreaRegistration.RegisterAllAreas();
     RouteConfig.RegisterRoutes(RouteTable.Routes);
     FilterConfig.RegisterGlobalFilter(GlobalFilters.Filters);
     //GlobalFilters.Filters;
 }
Пример #2
0
 protected void Application_Start()
 {
     FilterConfig.RegisterGlobalFilter(GlobalFilters.Filters);
     AreaRegistration.RegisterAllAreas();
     RouteConfig.RegisterRoutes(RouteTable.Routes);
     BundleConfig.RegisterBundles(BundleTable.Bundles);
 }