class FinanceReviewerServiceImpl extends BaseTransactionalService implements FinanceReviewerService {

    @Override
    public ServiceResult<List<SimpleUserResource>> findFinanceUsers() {
        return serviceSuccess(userRepository.findByRolesAndStatusIn(PROJECT_FINANCE, EnumSet.of(ACTIVE))
                .stream()
                .map(user -> new SimpleUserResource(user.getId(), user.getFirstName(), user.getLastName(), user.getEmail()))
                .collect(Collectors.toList()));
    }

}