protected void Application_Start() { var db = new Models.DBContext(); if (!db.Database.Exists()) db.Provinces.ToList(); AreaRegistration.RegisterAllAreas(); RouteConfig.RegisterRoutes(RouteTable.Routes); }
protected void Application_Start() { var db = new Models.DBContext(); if (!db.Database.Exists()) { db.Provinces.ToList(); } AreaRegistration.RegisterAllAreas(); RouteConfig.RegisterRoutes(RouteTable.Routes); }