class ReviewInviteServiceImpl extends InviteService<ReviewInvite> implements ReviewInviteService {

    @Override
        public ServiceResult<AvailableAssessorPageResource> getAvailableAssessors(long competitionId, Pageable pageable) {
            final Page<AssessmentParticipant> pagedResult = assessmentParticipantRepository.findParticipantsNotOnAssessmentPanel(competitionId, pageable);

        return serviceSuccess(new AvailableAssessorPageResource(
                pagedResult.getTotalElements(),
                pagedResult.getTotalPages(),
                simpleMap(pagedResult.getContent(), availableAssessorMapper::mapToResource),
                pagedResult.getNumber(),
                pagedResult.getSize()
        ));
    }

}