public UsersService(IRunesDbContext db)
 {
     this.db = db;
 }
Esempio n. 2
0
 public UserService(IRunesDbContext dbContext)
 {
     Context = dbContext;
 }
Esempio n. 3
0
 public TrackService(IRunesDbContext dbContext)
 {
     this.dbContext = dbContext;
 }
 public AlbumService(IRunesDbContext dbContext)
 {
     Context = dbContext;
 }
 public TrackService()
 {
     this.Context = new IRunesDbContext();
 }
Esempio n. 6
0
        private static void ConfigureDatabase()
        {
            IRunesDbContext context = new IRunesDbContext();

            context.Database.Migrate();
        }
Esempio n. 7
0
 public TrackService(IRunesDbContext context)
 {
     this.context = context;
 }
Esempio n. 8
0
 public BaseController()
 {
     this.dbContext     = new IRunesDbContext();
     this.cookieService = new UserCookieService();
 }
Esempio n. 9
0
        private static void InitializeDb()
        {
            var db = new IRunesDbContext();

            db.Database.EnsureCreated();
        }
Esempio n. 10
0
 public TracksService(IRunesDbContext db)
 {
     this.db = db;
 }
Esempio n. 11
0
 public UserService()
 {
     this.context     = new IRunesDbContext();
     this.hashService = new HashService();
 }