private void DeleteContact() { var contactToDelete = viewModel.SelectedContact; root.RemoveContact(contactToDelete); logService.Message("Delete contact", true); addressBookService.ContactDeleted(GetDto(contactToDelete)); }