class CompetitionSetupController {

    @GetMapping("/subsection-status/{competitionId}")
    public RestResult<Map<CompetitionSetupSubsection, Optional<Boolean>>> getSubsectionStatuses(@PathVariable("competitionId") final Long competitionId) {
        return competitionSetupService.getSubsectionStatuses(competitionId).toGetResponse();
    }

}