public ActionResult GetShoppingCart() { var card = _nopService.GetShoppingCart(_userContext.CustomerId()); var products = card.Products; return(View("~/Views/Partials/ShoppingCart.cshtml", products)); }
public ShoppingCartRootObject GetShoppingCart(string customerId) { var cart = _nopService.GetShoppingCart(customerId); return(cart); }