public IActionResult DeleteConfirmed(int id) { _classroomService.DeleteCourse(id); return(RedirectToAction(nameof(Index))); }