protected void Application_Start() { AreaRegistration.RegisterAllAreas(); dbContext = new GallerySystemServicesContext(); WebApiConfig.Register(GlobalConfiguration.Configuration); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); }
public PictureManager() { this.dbContext = WebApiApplication.dbContext; }
public AlbumManager() { this.dbContext = WebApiApplication.dbContext; }
public CategoryManager() { this.dbContext = WebApiApplication.dbContext; }
public UserManager() { this.dbContext = WebApiApplication.dbContext; }