コード例 #1
0
        public async Task <(int totalCount, IEnumerable <JobOfferDto> offers)> GetAllAsync(int pageSize, int pageNumber, IList <string>?skillTags = null)
        {
            var jobOffers  = mapper.Map <IEnumerable <JobOffer>, IEnumerable <JobOfferDto> >(await jobOfferService.GetAllAsync(pageSize, pageNumber, skillTags));
            int totalCount = await jobOfferService.GetTotalCountAsync(skillTags);

            return(totalCount, jobOffers);
        }