public async Task <List <DiseaseDTO> > GetDiseasesAsync() { return(await _diseaseService.GetAllAsync()); }
public async Task <IActionResult> GetAllAsync() { return(Ok(await _diseaseService.GetAllAsync())); }
// GET: Diseases public async Task <ActionResult> Index() { return(View(await _diseaseService.GetAllAsync())); }