public void Execute() { DisplayOrderWorkflow dowf = new DisplayOrderWorkflow(); formattedDate = dowf.GetOrderDateFromUser(); orderNumber = dowf.GetOrderNumberFromUser(); _currentOrder = dowf.DisplayOrderInformation(formattedDate, orderNumber); ConfirmDeletion(); }
public void Execute() { DisplayOrderWorkflow dowf = new DisplayOrderWorkflow(); formattedDate = dowf.GetOrderDateFromUser(); orderNumber = dowf.DisplayAllAccounts(formattedDate); //_the current order returns order before it's edited _currentOrder = dowf.DisplayOrderInformation(formattedDate, orderNumber); ChangeName(); ChangeState(); ChangeProduct(); ChangeArea(); ChangeMaterialCost(); ChangeTax(); ChangeLaborPerSquareFt(); ChangeLaborCost(); ChangeTotal(); NewOrder(); }