Beispiel #1
0
        public async Task <IActionResult> GetAll()
        {
            var list = await diseaseService.GetAll();

            return(Ok(list));
        }
Beispiel #2
0
 public IEnumerable <Disease> GetAll()
 => diseaseService.GetAll();