public SearchResponse Search(SearchRequest request)
        {
            var result = new SearchResponse
            {
                Result = new List <VacancyResponse>()
            };

            var searchFilter = new SearchFilter(request.FromRequest(), OrganizationService);
            var predicate    = searchFilter.GetPredicate();

            var resultList = VacancyService.GetRangeBy(predicate);

            result.Result = resultList.ConvertAll(
                (vacancyModel) => vacancyModel.ToResponse(OrganizationService));

            return(result);
        }
 public List <VacancyModel> Get()
 => VacancyService.GetRangeBy((vacancy) => true);