public function listQuestionsToCorrectAction(Exercise $exercise)
    {
        $toCorrect = $this->isAdmin($exercise) ? $this->correctionManager->getToCorrect($exercise) : [];

        return new JsonResponse($toCorrect);
    }
public function listQuestionsToCorrectAction(Exercise $exercise)
    {
        $toCorrect = $this->isAdmin($exercise) ? $this->correctionManager->getToCorrect($exercise) : [];

        return new JsonResponse($toCorrect);
    }
public function listQuestionsToCorrectAction ( Exercise $ exercise ) { $ toCorrect = $ this -> isAdmin ( $ exercise ) ? $ this -> correctionManager -> getToCorrect ( $ exercise ) : [ ] ; return new JsonResponse ( $ toCorrect ) ; }
Lists all questions with `manual` score rule that have answers to correct.

@EXT\Route("", name="exercise_correction_questions")
@EXT\Method("GET")

@param Exercise $exercise

@return JsonResponse
Lists all questions with manual score rule that have answers to correct .