Beispiel #1
0
        private SavedSearchViewModel[] GetSavedSearches(Guid?candidateId)
        {
            if (candidateId == null)
            {
                return(null);
            }

            var savedSearches = _candidateServiceProvider.GetSavedSearches(candidateId.Value);

            return(savedSearches == null
                ? null
                : savedSearches.OrderByDescending(each => each.DateCreated).ToArray());
        }