Пример #1
0
 public IEnumerable <ResponseSet> FilterSubmittedResponseSet(FilterParameters parameters)
 {
     return(FilterResponseSet(parameters, _responseSetRepository.GetSubmittedResponseSetsForUser(Membership.CurrentUser.ID), c => { return c.DateSubmitted.Value; }));
 }
Пример #2
0
 public IEnumerable <ResponseSet> SearchSubmittedResponseSetsByName(string name)
 {
     return(_responseSetRepository.GetSubmittedResponseSetsForUser(Membership.CurrentUser.ID).Where(s => s.Name.ToLower().Contains(name.ToLower())));
 }