Exemplo n.º 1
0
        public ActionResult <IEnumerable <JobOfferDTO> > GetAllJobOffers()
        {
            var jobOfferItems = _jobOfferRepository.GetAllJobOffers();
            var result        = _mapper.Map <IEnumerable <JobOfferDTO> >(jobOfferItems);

            return(Ok(result));
        }