/// <summary> /// Executes the EditOrderCommand /// </summary> private void ExecuteEditOrderCommand() { EditOrderCommand.CommandSucceeded = false; addEditOrderVM.CurrentViewMode = ViewMode.EditMode; CurrentCustomerOrder.BeginEdit(); addEditOrderVM.CurrentCustomer = CurrentCustomer; bool?result = uiVisualizerService.ShowDialog("AddEditOrderPopup", addEditOrderVM); if (result.HasValue && result.Value) { CloseActivePopUpCommand.Execute(true); } EditOrderCommand.CommandSucceeded = true; }
private void EditedOrderSuccessfullyMessageSink(Boolean dummy) { CurrentCustomerOrder.EndEdit(); messageBoxService.ShowInformation("Need to do this, and same for edit"); }