public ActionResult <IEnumerable <CompletedLeadDto> > GetAllCompletedLeads() { var lostLeadFromRepo = _leadsRepo.GetAllLostLeads(); return(Ok(_mapper.Map <IEnumerable <CompletedLeadDto> >(lostLeadFromRepo))); }
public ActionResult <IEnumerable <CompletedLeadDto> > GetAllCompletedLeads() { var lostLeadFromRepo = _leadsRepo.GetAllLostLeads(); return(Ok(_mapper.Map <IEnumerable <CompletedLeadDto> >(lostLeadFromRepo))); }