src/main/java/de/otto/teamdojo/web/rest/LevelSkillResource.java
@PutMapping("/level-skills")
    @Timed
    public ResponseEntity<LevelSkillDTO> updateLevelSkill(@Valid @RequestBody LevelSkillDTO levelSkillDTO) throws URISyntaxException {
        log.debug("REST request to update LevelSkill : {}", levelSkillDTO);
        if (levelSkillDTO.getId() == null) {
            return createLevelSkill(levelSkillDTO);
        }
        LevelSkillDTO result = levelSkillService.save(levelSkillDTO);
        return ResponseEntity.ok()
            .headers(HeaderUtil.createEntityUpdateAlert(ENTITY_NAME, levelSkillDTO.getId().toString()))
            .body(result);
    }
/**
     * PUT  /level-skills : Updates an existing levelSkill.
     *
     * @param levelSkillDTO the levelSkillDTO to update
     * @return the ResponseEntity with status 200 (OK) and with body the updated levelSkillDTO,
     * or with status 400 (Bad Request) if the levelSkillDTO is not valid,
     * or with status 500 (Internal Server Error) if the levelSkillDTO couldn't be updated
     * @throws URISyntaxException if the Location URI syntax is incorrect
     */
PUT  /level-skills : Updates an existing levelSkill.
@param levelSkillDTO the levelSkillDTO to update
@return the ResponseEntity with status 200 (OK) and with body the updated levelSkillDTO,
or with status 400 (Bad Request) if the levelSkillDTO is not valid,
or with status 500 (Internal Server Error) if the levelSkillDTO couldn't be updated
@throws URISyntaxException if the Location URI syntax is incorrect
PUT / level - skills : Updates an existing levelSkill . @param levelSkillDTO the levelSkillDTO to update @return the ResponseEntity with status 200 ( OK ) and with body the updated levelSkillDTO or with status 400 ( Bad Request ) if the levelSkillDTO is not valid or with status 500 ( Internal Server Error ) if the levelSkillDTO couldn ' t be updated @throws URISyntaxException if the Location URI syntax is incorrect
@PutMapping("/level-skills")
    @Timed
    public ResponseEntity<LevelSkillDTO> updateLevelSkill(@Valid @RequestBody LevelSkillDTO levelSkillDTO) throws URISyntaxException {
        log.debug("REST request to update LevelSkill : {}", levelSkillDTO);
        if (levelSkillDTO.getId() == null) {
            return createLevelSkill(levelSkillDTO);
        }
        LevelSkillDTO result = levelSkillService.save(levelSkillDTO);
        return ResponseEntity.ok()
            .headers(HeaderUtil.createEntityUpdateAlert(ENTITY_NAME, levelSkillDTO.getId().toString()))
            .body(result);
    }
@ PutMapping ( "/level-skills" ) @ Timed public ResponseEntity < LevelSkillDTO > updateLevelSkill ( @ Valid @ RequestBody LevelSkillDTO levelSkillDTO ) throws URISyntaxException { log . debug ( "REST request to update LevelSkill : {}" , levelSkillDTO ) ; if ( levelSkillDTO . getId ( ) == null ) { return createLevelSkill ( levelSkillDTO ) ; } LevelSkillDTO result = levelSkillService . save ( levelSkillDTO ) ; return ResponseEntity . ok ( ) . headers ( HeaderUtil . createEntityUpdateAlert ( ENTITY_NAME , levelSkillDTO . getId ( ) . toString ( ) ) ) . body ( result ) ; }
PUT  /level-skills : Updates an existing levelSkill.
PUT / level - skills : Updates an existing levelSkill .