Esempio n. 1
0
 public Task <List <ProgressModel> > GetByUserIdAync(long id)
 {
     return(Queryable.Where(ProgressExpression.UserId(id)).Select(ProgressExpression.Model).ToListAsync());
 }
Esempio n. 2
0
 public Task <ProgressModel> GetByIdAsync(long id)
 {
     return(Queryable.Where(ProgressExpression.Id(id)).Select(ProgressExpression.Model).SingleOrDefaultAsync());
 }