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