class GrantTransferDetailsController {

    @PostMapping
    public String saveAndReturn(@ModelAttribute(name = MODEL_ATTRIBUTE_FORM) GrantTransferDetailsForm form,
                                @SuppressWarnings("unused") BindingResult bindingResult,
                                Model model,
                                @PathVariable long applicationId,
                                @PathVariable long questionId,
                                UserResource userResource) {
        grantTransferDetailsSaver.save(form, applicationId);
        return String.format("redirect:/application/%d", applicationId);
    }

    public  GrantTransferDetailsController(GrantTransferDetailsFormPopulator grantTransferDetailsFormPopulator, GrantTransferDetailsViewModelPopulator grantTransferDetailsViewModelPopulator, GrantTransferDetailsSaver grantTransferDetailsSaver, UserRestService userRestService, QuestionStatusRestService questionStatusRestService);

}