コード例 #1
0
        public ActionResult <Disease> GetDiseasebyId(int id)
        {
            var log = new List <Disease>();

            log = dr.GetDiseaseId(id);
            if (log.Count == 0)
            {
                return(NotFound());
            }
            return(Ok(log));
        }