class ReviewInviteServiceImpl extends InviteService<ReviewInvite> implements ReviewInviteService {

    @Override
    public ServiceResult<List<Long>> getAvailableAssessorIds(long competitionId) {
        List<AssessmentParticipant> result = assessmentParticipantRepository.findParticipantsNotOnAssessmentPanel(competitionId);

        return serviceSuccess(simpleMap(result, competitionParticipant -> competitionParticipant.getUser().getId()));
    }

}