コード例 #1
0
        public IActionResult Get(int id)
        {
            var allPatients = patientRepo.GetAllPatientsInTheICU(id);

            if (allPatients.Count != 0)
            {
                return(Ok(allPatients));
            }
            return(NotFound());
        }