class AssessorProfileAgreementController {

    @PostMapping
    public String submitAgreement(Model model,
                                  UserResource loggedInUser) {
        profileRestService.updateProfileAgreement(loggedInUser.getId()).getSuccess();
        return "redirect:/assessor/dashboard";
    }

}