Example #1
0
  @DELETE
  @Path("users/{id}")
  public void deleteUserById(@PathParam("id") Long id) {
    User user = getUserById(id);

    userDao.deleteUser(user);
  }