class YourProjectLocationController extends AsyncAdaptor {

    @PostMapping("/auto-save")
    @PreAuthorize("hasAuthority('applicant')")
    @SecuredBySpring(value = "UPDATE_PROJECT_LOCATION", description = "Applicants can update their project location")
    public @ResponseBody JsonNode autosave(
            @PathVariable("applicationId") long applicationId,
            @PathVariable("organisationId") long organisationId,
            @ModelAttribute YourProjectLocationForm form) {

        update(applicationId, organisationId, form);
        return new ObjectMapper().createObjectNode();
    }

    public  YourProjectLocationController();
    @Autowired  YourProjectLocationController(
            CommonYourFinancesViewModelPopulator commonViewModelPopulator,
            YourProjectLocationFormPopulator formPopulator,
            ApplicationFinanceRestService applicationFinanceRestService,
            SectionService sectionService,
            UserRestService userRestService,
            OrganisationRestService organisationRestService);

}