public ActionResult Index() { ViewBag.Message = "Modify this template to jump-start your ASP.NET MVC application."; //InitRepo.Setup(); var x = new DomainSetup(); return View(new IndexModel()); }
protected void Application_Start() { AreaRegistration.RegisterAllAreas(); WebApiConfig.Register(GlobalConfiguration.Configuration); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); AuthConfig.RegisterAuth(); var x = new DomainSetup(); }