public IActionResult DeleteConfirmed(int id) { Detail.Delete(id); return(RedirectToAction("Index")); }