public void deleteById(Long id) {
   Person byId = personService.getById(id);
   personService.removePerson(id);
   String personName = byId.getFirstName() + " " + byId.getLastName();
   FacesContext.getCurrentInstance()
       .addMessage(null, new FacesMessage(FacesMessage.SEVERITY_INFO, "Removed", personName));
 }
 public void save(ActionEvent actionEvent) {
   personService.addPerson(person);
   person = new Person();
 }
 public List<Person> getList() {
   return personService.loadAllPersons();
 }