示例#1
0
        public IActionResult DeleteDiagnosis(long id)
        {
            Diagnosis dia = dia_repo.Find(id);

            if (dia == null)
            {
                return(NotFound());
            }

            dia_repo.Delete(dia);
            return(Ok());
        }