protected override Result<object> OnConfirmed()
        {
            var sequnceNumber = Resolve<Database>().SequenceNextValue(SequenceName.DocumentReference);

            var context = new MakeOrderEnvelopeContext(sequnceNumber, Order.Outlet, User, User.DistributorSalesman, Order);
            return  orderProcessor.Process(Order, context);
        }
 protected override Result<object> OnConfirmed()
 {
     var context = new MakeOrderEnvelopeContext(0, Order.Outlet, User, User.DistributorSalesman, Order);
     return Resolve<PaymentProcessor>().Process(Order, context);
 }