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

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

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