コード例 #1
0
        public ActionResult <IEnumerable <LeadJobDto> > GetAllLeadJobs()
        {
            var leadJobsFromRepo = _leadsRepo.GetAllLeadJobs();

            return(Ok(_mapper.Map <IEnumerable <LeadJobDto> >(leadJobsFromRepo)));
        }