public Repository(EmpriseDbContext context) { _db = context; _dbSet = _db.Set <TEntity>(); }
public UnitOfWork(EmpriseDbContext context) { _context = context; }