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