public ActionResult <IEnumerable <DiseaseViewModel> > GetDiseases() { return(_service.GetAll().Select(d => DiseaseMapper.DTOtoDiseaseVM(d)).ToArray()); }
public Task <IEnumerable <DiseaseDTO> > GetAll() { return(_diseaseService.GetAll()); }