Beispiel #1
0
 public IEnumerable <ResponseSet> FilterSavedResponseSet(FilterParameters parameters)
 {
     return(FilterResponseSet(parameters, _responseSetRepository.GetSavedResponseSetsForUser(Membership.CurrentUser.ID), c => { return c.DateSaved.Value; }));
 }
Beispiel #2
0
 public IEnumerable <ResponseSet> SearchSavedResponseSetsByName(string name)
 {
     return(_responseSetRepository.GetSavedResponseSetsForUser(Membership.CurrentUser.ID).Where(s => s.Name.ToLower().Contains(name.ToLower())));
 }