public static bool billingService_BillingSuccessfullHandler(object sender, OrderEventsArgs e)
 {
     // initiate shipping
     var shipmentService = new ShipmentService();
     shipmentService.ShipOrder(e.Order);
     return true;
 }
 /// <summary>
 /// Raises Order created event. 
 /// make sure its protected virtual so that its overridable. 
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected virtual void OnOrderCreated(object sender, OrderEventsArgs e)
 {
     if (OrderCreated != null)
     {
         // invoke the event
         OrderCreated(this,e);
     }
 }
 public void OnOrderCreated(object sender, OrderEventsArgs e)
 {
     CreateInvoice(e.Order);
 }
 public bool billingService_BillingSuccessfullHandler(object sender, OrderEventsArgs e)
 {
     // initiate shipping
     ShipOrder(e.Order);
     return true;
 }