public BaseRepository(SuppDbContext dbContext)
 {
     this.dbContext = dbContext;
     Entities       = dbContext.Set <TEntity>();
 }
Exemple #2
0
 public UnitOfWork()
 {
     this.dbContext = new SuppDbContext();
 }