public ActionResult Index() { var cart = this.GetCurrentCart(); var model = new CartInfoModel { Count = cart.Count, TotalPrice = cart.TotalPrice }; return(PartialView("Index", model)); }
public ActionResult Index() { var cart = this.GetCurrentCart(); var model = new CartInfoModel {Count = cart.Count, TotalPrice = cart.TotalPrice}; return PartialView("Index", model); }