public async Task <IEnumerable <JobOfferDto> > GetByCityAsync(string city, bool ascendingOrder = true) { return(mapper.Map <IEnumerable <JobOffer>, IEnumerable <JobOfferDto> >(await jobOfferService.GetByCityAsync(city, ascendingOrder))); }
public async Task <IEnumerable <JobOfferDto> > GetByCityAsync(string city, bool ascendingOrder = true) { return(mapper.Map <IEnumerable <JobOffer>, IEnumerable <JobOfferDto> >(await jobOfferService.GetByCityAsync(city, ascendingOrder))); }