public UsersService(IRunesDbContext db) { this.db = db; }
public UserService(IRunesDbContext dbContext) { Context = dbContext; }
public TrackService(IRunesDbContext dbContext) { this.dbContext = dbContext; }
public AlbumService(IRunesDbContext dbContext) { Context = dbContext; }
public TrackService() { this.Context = new IRunesDbContext(); }
private static void ConfigureDatabase() { IRunesDbContext context = new IRunesDbContext(); context.Database.Migrate(); }
public TrackService(IRunesDbContext context) { this.context = context; }
public BaseController() { this.dbContext = new IRunesDbContext(); this.cookieService = new UserCookieService(); }
private static void InitializeDb() { var db = new IRunesDbContext(); db.Database.EnsureCreated(); }
public TracksService(IRunesDbContext db) { this.db = db; }
public UserService() { this.context = new IRunesDbContext(); this.hashService = new HashService(); }