public IEnumerable <ResponseSet> FilterSubmittedResponseSet(FilterParameters parameters) { return(FilterResponseSet(parameters, _responseSetRepository.GetSubmittedResponseSetsForUser(Membership.CurrentUser.ID), c => { return c.DateSubmitted.Value; })); }
public IEnumerable <ResponseSet> SearchSubmittedResponseSetsByName(string name) { return(_responseSetRepository.GetSubmittedResponseSetsForUser(Membership.CurrentUser.ID).Where(s => s.Name.ToLower().Contains(name.ToLower()))); }