public EntityRepository() { _context = new AccountingContext(); _dbSet = _context.Set <T>(); }
public EntityRepository(AccountingContext context) { _context = context; _dbSet = _context.Set <T>(); }