class ProfileController {

    @GetMapping("/id/{userId}/get-user-profile")
    public RestResult<UserProfileResource> getUserProfile(@PathVariable("userId") Long userId) {
        return profileService.getUserProfile(userId).toGetResponse();
    }

}