private ActionResult CompleteRegistrationWithoutPayment(AssignRegistrantDetails command, Guid orderId) { var confirmationCommand = new ConfirmOrder { OrderId = orderId }; this.commandBus.Send(new ICommand[] { command, confirmationCommand }); return RedirectToAction("ThankYou", new { conferenceCode = this.ConferenceAlias.Code, orderId }); }
private PaymentViewModel CompleteRegistrationWithoutPayment(Guid orderId) { var confirmationCommand = new ConfirmOrder { OrderId = orderId }; this._commandBus.Send(confirmationCommand); return new PaymentViewModel { ConferenceCode = this.ConferenceAlias.Code, OrderId = orderId }; }