public async Task <IEnumerable <TargetAppModel> > ListModelWithDateAsync(DateTime checkDate) { return(await Queryable.Where(TargetAppExpression.MonitorList(checkDate)).Select(TargetAppExpression.Model).ToListAsync()); }
public Task <TargetAppModel> GetModelAsync(long id) { return(Queryable.Where(TargetAppExpression.Id(id)).Select(TargetAppExpression.Model).SingleOrDefaultAsync()); }