public boolean saveAndClose(Contact contact) { contactRepository.save(contact); messageUtil.infoDelayed("status_saved_ok", contactConverter.print(contact)); forceClose(); return true; }
public boolean delete(Contact contact) { String infoArg = contactConverter.print(contact); contactRepository.delete(contact); messageUtil.info("status_deleted_ok", infoArg); return true; }
public boolean save(Contact contact) { contactRepository.save(contact); messageUtil.info("status_saved_ok", contactConverter.print(contact)); return true; }