class CompetitionSetupController {

    @PostMapping("/{competitionId}/section/completion-stage")
    public String submitCompletionStageSectionDetails(@Valid @ModelAttribute(COMPETITION_SETUP_FORM_KEY) CompletionStageForm competitionSetupForm,
                                                      BindingResult bindingResult,
                                                      ValidationHandler validationHandler,
                                                      @PathVariable(COMPETITION_ID_KEY) long competitionId,
                                                      UserResource loggedInUser,
                                                      Model model) {

        CompetitionResource competition = competitionRestService.getCompetitionById(competitionId).getSuccess();

        return genericCompetitionSetupSection(competitionSetupForm, validationHandler, competition,
                CompetitionSetupSection.COMPLETION_STAGE, loggedInUser, model);
    }

}