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