public IEnumerable <T> Find(Expression <Func <T, bool> > predicate) { return(dbContext.Set <T>().Where(predicate)); }
public Repository(ProgramDbContext pb) { dbContext = pb; dbSet = pb.Set <T>(); }