class ProjectDetailsController {

    @PostMapping(value = "/{projectId}/organisation/{organisationId}/partner-project-location")
    public RestResult<Void> updatePartnerProjectLocation(@PathVariable("projectId") final long projectId,
                                                         @PathVariable("organisationId") final long organisationId,
                                                         @RequestBody PostcodeAndTownResource postcodeAndTown) {
        ProjectOrganisationCompositeId composite = new ProjectOrganisationCompositeId(projectId, organisationId);
        return projectDetailsService.updatePartnerProjectLocation(composite, postcodeAndTown).toPostResponse();
    }

}