class CompetitionSetupServiceImpl extends BaseTransactionalService implements CompetitionSetupService {

    @Override
    @Transactional
    public ServiceResult<SetupStatusResource> markSubsectionIncomplete(Long competitionId, CompetitionSetupSection parentSection, CompetitionSetupSubsection subsection) {
        SetupStatusResource setupStatus = findOrCreateSetupStatusResource(competitionId, subsection.getClass().getName(), subsection.getId(), Optional.of(parentSection));
        setupStatus.setCompleted(false);

        return setupStatusService.saveSetupStatus(setupStatus);
    }

}