protected void Application_Start() { var ctx = new EquiclassContext(); ctx.Database.Initialize(true); AreaRegistration.RegisterAllAreas(); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); }
public EquiclassRepository() { _context = new EquiclassContext(); }