@Override public Response addUser(User user) { user = userService.addUser(user); return Response.status(Response.Status.CREATED).entity(user).build(); }
@Override public void deleteUser(@PathParam("Id") int Id) { userService.deleteUser(Id); }
@Override public List<User> retrieveUsers() { return userService.findAll(); }