protected void Application_Start() { FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); UnityMvcActivator.Start(); Database.SetInitializer(new DatabaseInitializer()); }
protected void Application_End() { UnityMvcActivator.Shutdown(); }