public IActionResult DeleteConfirmed(int id) { context.DeleteCourse(id); return(RedirectToAction("Index")); }