@RequestMapping(value = "/user/delete", method = RequestMethod.DELETE)
 @ResponseStatus(value = HttpStatus.NO_CONTENT)
 public @ResponseBody void deleteUser(@RequestBody Integer Id) {
   LOGGER.debug("deleteUser(): id = {} ", Id);
   userService.deleteUser(Id);
 }
 @RequestMapping(value = "/user/id/{id}", method = RequestMethod.GET)
 @ResponseStatus(value = HttpStatus.OK)
 public @ResponseBody User getUserById(@PathVariable(value = "id") Integer Id) {
   LOGGER.debug("getUserById(): id = {} ", Id);
   return userService.getUserById(Id);
 }
 @RequestMapping(value = "/user/{login}", method = RequestMethod.GET)
 @ResponseStatus(value = HttpStatus.OK)
 public @ResponseBody User getUserByLogin(@PathVariable(value = "login") String login) {
   LOGGER.debug("getUserByLogin(): login = {} ", login);
   return userService.getUserByLogin(login);
 }
 @RequestMapping(value = "/user", method = RequestMethod.POST)
 @ResponseStatus(value = HttpStatus.CREATED)
 public @ResponseBody Integer addUser(@RequestBody User user) {
   LOGGER.debug("addUser(): user_id = {} ", user.getId_user());
   return userService.addUser(user);
 }
 @RequestMapping(value = "/users/count", method = RequestMethod.GET)
 @ResponseStatus(value = HttpStatus.OK)
 public @ResponseBody Integer countUser() {
   LOGGER.debug("getAllUsers()");
   return userService.countUser();
 }
 @RequestMapping(value = "/users", method = RequestMethod.GET)
 @ResponseStatus(value = HttpStatus.OK)
 public @ResponseBody List<User> getAllUsers() {
   LOGGER.debug("getAllUsers()");
   return userService.getAllUsers();
 }