class AssessorProfileDeclarationEditController {

    @PostMapping(path = "/edit", params = {"removeFamilyMemberAffiliation"})
    public String removeFamilyMemberAffiliation(@ModelAttribute(FORM_ATTR_NAME) AssessorProfileDeclarationForm form,
                                                @RequestParam(name = "removeFamilyMemberAffiliation") Integer position) {
        form.getFamilyAffiliations().remove(position.intValue());
        return doEditDeclaration();
    }

}