class AssessorCountOptionServiceImpl extends BaseTransactionalService implements AssessorCountOptionService {

    @Override
    public ServiceResult<List<AssessorCountOptionResource>> findAllByCompetitionType(Long competitionTypeId) {
        return serviceSuccess(simpleMap(assessorCountOptionRepository.findByCompetitionTypeId(competitionTypeId), assessorCountOptionMapper::mapToResource));
    }

}