public async Task <IEnumerable <JobOfferDto> > GetByCompanyNameAsync(JobOfferDto jobOfferDto, bool ascendingOrder = true) { return(mapper.Map <IEnumerable <JobOffer>, IEnumerable <JobOfferDto> >(await jobOfferService.GetByCompanyNameAsync(jobOfferDto.Company?.Name, ascendingOrder))); }