Esempio n. 1
0
        public int GetCartCount(int ProductId)
        {
            var ProductInCart = _productService.GetProductById(ProductId);

            _shoppingService.SetCurrentCart(ProductInCart);


            return(_shoppingService.GetCartCount());
        }