class QuestionSetupCompetitionServiceImpl extends BaseTransactionalService implements QuestionSetupCompetitionService {

    @Override
    @Transactional
    public ServiceResult<Void> addResearchCategoryQuestionToCompetition(long competitionId) {
        return find(competitionRepository.findById(competitionId), notFoundError(Competition.class, competitionId))
                .andOnSuccess(this::saveNewResearchCategoryQuestionForCompetition)
                .andOnSuccessReturnVoid();
    }

}