Example #1
0
        public ActionResult <IEnumerable <Jobs> > GetAllJobs()
        {
            var jobbFromRepo = _leadsRepo.GetAllJobs();

            return(Ok(_mapper.Map <IEnumerable <Jobs> >(jobbFromRepo)));
        }