public ActionResult <IEnumerable <CompanyJobDto> > GetAllCompanyJobs() { var companyJobsFromRepo = _leadsRepo.GetAllCompanyJobs(); return(Ok(_mapper.Map <IEnumerable <CompanyJobDto> >(companyJobsFromRepo))); }
public ActionResult <IEnumerable <CompanyJobDto> > GetAllCompanyJobs() { var companyJobsFromRepo = _leadsRepo.GetAllCompanyJobs(); return(Ok(_mapper.Map <IEnumerable <CompanyJobDto> >(companyJobsFromRepo))); }