//Delete Selected Customer private void DeleteCustomer() { MessageBoxResult messageBoxResult = System.Windows.MessageBox.Show("Are you sure you want to delete this customer?", "Delete Confirmation", System.Windows.MessageBoxButton.YesNo); if (messageBoxResult == MessageBoxResult.Yes) { viewModel.DeleteCustomer(); } }