class AssessmentServiceImpl implements AssessmentService {

    @Override
    public ServiceResult<Void> submitAssessments(List<Long> assessmentIds) {
        AssessmentSubmissionsResource assessmentSubmissions = new AssessmentSubmissionsResource();
        assessmentSubmissions.setAssessmentIds(assessmentIds);

        return assessmentRestService.submitAssessments(assessmentSubmissions).toServiceResult();
    }

}