Example #1
0
 private void SearchOrder()
 {
     _order = _model.GetNotPaidOrder(_view.GetOrderNumber());
     if (_order != null)
     {
         _view.SetOrderInfo((ClientOrder)_order.Clone());
     }
     else
     {
         _view.SetOrderInfo(_order);
     }
 }
Example #2
0
 public ClientManagerInspectOrderPresenter(IKernel kernel, IClientManagerInspectOrderView view,
                                           IClientOrderServiceForClientManager model, ClientOrder order) : this(kernel, view, model)
 {
     _order = _model.GetNotPaidOrder(order.OrderId);
     _view.SetOrderInfo((ClientOrder)_order.Clone());
 }