Esempio n. 1
0
 public IEnumerable <User> FindByCondition(Expression <Func <User, bool> > expression, Expression <Func <User, List <Recipe> > > expression2)
 {
     return(Repos.Set <User>().Include(expression2).Where(expression).AsNoTracking());
 }
Esempio n. 2
0
 public IEnumerable <User> FindAll(Expression <Func <User, List <Recipe> > > expression)
 {
     return(Repos.Set <User>().Include <User, List <Recipe> >(expression).AsNoTracking());
 }