Exemplo n.º 1
0
        public ActionResult AlterItem(int?ingredientId, bool add, Guid cartItemId)
        {
            if (ingredientId != null)
            {
                _cartService.AlterItem((int)ingredientId, add, cartItemId);
            }

            return(ViewComponent("CartItemDetails", cartItemId));
        }