예제 #1
0
        public IActionResult DiseaseDelete(int id)
        {
            var disease = _db.GetDisease(id);

            // return View(disease);
            _db.DeleteDisease(disease);

            return(RedirectToAction(nameof(GetDisease)));
        }