Example #1
0
 public void ConfirmOrder(Order order)
 {
     // save the order
     _billingService.InsertOrder(order);
     singleton.CurrentShoppingCart = ShoppinAction.CreateNewShoppingCart();
     this.nextViewToDisplay        = WebViews.BILLING;
 }
 private void CreateUserEnvironment()
 {
     singleton.CurrentUser         = _account;
     singleton.CurrentShoppingCart = ShoppinAction.CreateNewShoppingCart();
     singleton.CurrentOrder        = null;
     this.nextViewToDisplay        = WebViews.STARTUP;
 }