/// <summary> /// Gets job offers according to filter /// </summary> /// <param name="filter">job offers filter</param> /// <returns></returns> public async Task <QueryResultDto <JobOfferDto, JobOfferFilterDto> > GetJobOffersAsync(JobOfferFilterDto filter) { using (UnitOfWorkProvider.Create()) { if (filter.KeywordNumbers != null) { filter.JobOfferIds = await keywordsJobOfferService.GetJobOfferIdsByKeywordNumbersAsync(filter.KeywordNumbers); } var jobOfferListQueryResult = await jobOfferService.ListJobOfferAsync(filter); return(jobOfferListQueryResult); } }