public CreateOrderWorkflowStepResult Run()
 {
     // Create the order
     var order = new Order {Beneficiary = beneficiary, Product = product, Payer = payer};
     return new CreateOrderWorkflowStepResult(true, this.PostWorkDescription, string.Empty, order);
 }
 public CreateOrderWorkflowStepResult(bool success, string workDescription, string errorMessage, Order order)
     : base(success, workDescription, errorMessage)
 {
     this.Order = order;
 }
 public AddSubscriptionWorkflowStepResult Run(Order order)
 {
     var subscription = new Subscription{Subscriber = subscriber, Application = this.application, Order = order};
     var result = new AddSubscriptionWorkflowStepResult(true, this.PostWorkDescription, "", subscription);
     return result;
 }