@Override
 /** Elimina l'utente con id corrispondente */
 public String execute() {
   userManager.delete(getId());
   return SUCCESS;
 }
Exemple #2
0
 public String doDeleteUser(User e) {
   dao.delete(e.getId());
   return "listUser.xhtml";
 }