public UnitOfWork(WebOnlineDbContext dbContext) { _dbContext = dbContext; }
public BaseRepository(WebOnlineDbContext context) { _dbContext = context; _dbSet = _dbContext.Set <T>(); }
public UnitOfWork(WebOnlineDbContext dbContext) { _dbContext = dbContext; }
public BaseRepository(WebOnlineDbContext context) { _dbContext = context; _dbSet = _dbContext.Set <T>(); }