//only order some of the shopping cart item... public Order CreateOrder(List <CartItem> CartItems, Guid CustomerId, Guid AddressId) { Cart cart = new Cart(); cart.Items = CartItems; ServiceProvider.Cart(this.Context).CalculatePromotion(cart); return(CreateOrder(cart, CustomerId, AddressId)); }
public KCart(RenderContext context) { this.context = context; this.cartservice = ServiceProvider.Cart(this.context); }