public List <Rockstar> Get(FindRockstars request)
 {
     return(request.Aged.HasValue
         ? Db.Select <Rockstar>(q => q.Age == request.Aged.Value)
         : Db.Select <Rockstar>());
 }
Esempio n. 2
0
 public List<Rockstar> Get(FindRockstars request)
 {
     return request.Aged.HasValue
         ? Db.Select<Rockstar>(q => q.Age == request.Aged.Value)
         : Db.Select<Rockstar>();
 }