예제 #1
0
		private void SetCartItems(int uniqueID, Cart cart, bool isShoppingCart)
		{
			Accessor.SetCartItems(uniqueID, cart.Items, isShoppingCart);
		}
예제 #2
0
		private Cart GetCartItems(string username, bool isShoppingCart)
		{
			Cart cart = new Cart();

			foreach (CartItem cartItem in Accessor.GetCartItems(username, _applicationName, isShoppingCart))
				cart.Add(cartItem);

			return cart;
		}