public GenericRepository(CompanyDbContext context) { _context = context; _dbSet = context.Set <T>(); }
public UnitOfWork() { _context = new CompanyDbContext(); }
public GenericRepository(CompanyDbContext context) { _context = context; _dbSet = context.Set <T>(); }
public UnitOfWork() { _context = new CompanyDbContext(); }