// POST api/Cart
        public Cart Post(CartView cart)
        {
            Cart userCart = GetUserCart();

            userCart.CartItems.Clear();

            foreach (CartItemView item in cart.Items)
            {
                userCart.CartItems.Add(item);
            }

            Storage.Save();
            return(userCart);
        }
 // PUT api/Cart
 public void Put(CartView cart)
 {
     Post(cart);
 }