@ PostMapping ( "/addMappingProject" ) public String addMappingProject ( @ RequestParam ( "mapping-project-name" ) String name , @ RequestParam ( "target-entity" ) String targetEntity , @ RequestParam ( "depth" ) int depth ) { MappingProject newMappingProject = mappingService . addMappingProject ( name , targetEntity , depth ) ; return "redirect:" + getMappingServiceMenuUrl ( ) + "/mappingproject/" + newMappingProject . getIdentifier ( ) ; }
Adds a new mapping project .