コード例 #1
0
 public async Task <List <DiseaseDTO> > GetTopDiseases([FromQuery] int?take)
 {
     if (take == null)
     {
         take = 3;
     }
     return(await _diseaseService.GetTopDiseasesAsync(take.Value));
 }