class ApplicationTeamController {

    @PostMapping(params = "add-team-member")
    public String openAddTeamMemberForm(@ModelAttribute(value = "form", binding = false) ApplicationTeamForm form,
                                        BindingResult bindingResult,
                                        @PathVariable long applicationId,
                                        @PathVariable long questionId,
                                        @RequestParam("add-team-member") final long organisationId,
                                        Model model,
                                        UserResource userResource) {
        model.addAttribute("model", applicationTeamPopulator.populate(applicationId, questionId, userResource)
                .openAddTeamMemberForm(organisationId));
        return "application/questions/application-team";
    }

}