public ClientManagerAddOrderSecondStepPresenter(IKernel kernel, IClientManagerAddOrderSecondStepView view)
        {
            _kernel = kernel;
            _view   = view;

            _view.AddProduct += () => addProduct();
            _view.Back       += () => Back();
            _view.Cancel     += () => Cancel();
        }
        public ClientManagerEditOrderSecondStepPresenter(IKernel kernel, IClientManagerAddOrderSecondStepView view,
                                                         IClientOrderServiceForClientManager model, IServiceForControlProductMovementInClientOrder editor, ClientOrder order)
        {
            this._kernel = kernel;
            this._view   = view;
            this._model  = model;
            this._order  = order;
            this._editor = editor;

            this._view.SetProductBasket(this._order.GetCloneProductList());

            this._view.Back           += Back;
            this._view.RemoveProducts += RemoveProducts;
            this._view.ConfirmOrder   += ConfirmOrder;
            this._view.AddProduct     += AddProduct;
        }
        public ClientManagerAddOrderSecondStepPresenter(IKernel kernel, IClientManagerAddOrderSecondStepView view,
                                                        IClientOrderServiceForClientManager model, IServiceForControlProductMovementInClientOrder productService,
                                                        ClientOrder order)
        {
            _kernel         = kernel;
            _view           = view;
            _order          = order;
            _model          = model;
            _productService = productService;


            _view.AddProduct     += AddProduct;
            _view.Back           += Back;
            _view.RemoveProducts += RemoveProducts;
            _view.ConfirmOrder   += ConfirmOrder;

            _view.SetProductBasket(_order.GetCloneProductList());
            _view.SetOrderPrice(order.TotalCost);
        }
 public ClientManagerAddOrderSecondStepPresenter(IKernel kernel, IClientManagerAddOrderSecondStepView view, IClientOrder order) : this(kernel, view)
 {
     _order = order;
 }