예제 #1
0
        public IActionResult Get(int id)
        {
            var diseas = _diseaseRepository.Get(id);

            if (diseas != null)
            {
                return(Ok(diseas));
            }
            return(StatusCode(404));
        }