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