class AffiliationRestServiceImpl extends BaseRestService implements AffiliationRestService {

    @Override
    public RestResult<Void> updateUserAffiliations(long userId, AffiliationListResource affiliations) {
        return putWithRestResult(format("%s/id/%s/update-user-affiliations", profileRestURL, userId), affiliations, Void.class);
    }

}