public bool AnyEntity(Func <T, bool> predicate) { return(_context.Set <T>().Any(predicate)); }
public Repository(MedikalMarketContext context) { _context = context; _dbSet = _context.Set <T>(); }
public bool AnyEntity(Func <T, bool> predicate) { return(_context.Set <T>().Any(predicate)); }
public Repository(MedikalMarketContext context) { _context = context; _dbSet = _context.Set <T>(); }