public UnitOfWork(TubeStoreDbContext dbContext)
 {
     this.dbContext = dbContext;
 }
Exemple #2
0
 public GenericRepository(TubeStoreDbContext dbContext)
 {
     this.dbContext = dbContext;
     unitOfWork     = new UnitOfWork(dbContext);
 }