//async public async Task <IEnumerable <T> > FindAllAsync() { return(await _dbContext.Set <T>().ToListAsync()); }
public RepositoryBase(ZeMERPDbContext context) { _dbContext = context ?? throw new ArgumentException(nameof(context)); _dbSet = _dbContext.Set <T>(); }