Fix delete function in CourseRepository.php(model)