@RequestMapping(
     value = "/{id}",
     method = RequestMethod.PUT,
     consumes = MediaType.APPLICATION_JSON_VALUE)
 public void update(@RequestBody User user, @PathVariable("id") int id) {
   super.update(user, id);
 }
 @RequestMapping(value = "/{id}", method = RequestMethod.DELETE)
 public void delete(@PathVariable("id") int id) {
   super.delete(id);
 }