private bool InitDelete(long ID) { bool ok = false; try { if (ID != 0) { ok = LocationServices.Delete(ID); } } catch (Exception ex) { MessageBox.Show(ex.Message, "Notification", MessageBoxButton.OK); } return(ok); }