class ProfileController {

    @PutMapping("/id/{userId}/update-profile-agreement")
    public RestResult<Void> updateProfileAgreement(@PathVariable("userId") long userId) {
        return profileService.updateProfileAgreement(userId).toPutResponse();
    }

}