public GenericRepository(DbContextBase appDbContext, IApiExecutionContext appEx) { _appEx = appEx; _appDbContext = appDbContext; _dbSet = _appDbContext.Set <TEntity>(); }
public UnitOfWorkBase(DbContextBase appDbContext, IApiExecutionContext appEx) { this.appEx = appEx; this.appDbContext = appDbContext; }