class AssessorProfileDeclarationEditController {

    @PostMapping(path = "/edit", params = {"addAppointment"})
    public String addAppointment(@ModelAttribute(FORM_ATTR_NAME) AssessorProfileDeclarationForm form) {
        form.getAppointments().add(new AssessorProfileAppointmentForm());
        return doEditDeclaration();
    }

}