예제 #1
0
        // Navbar cart info
        public PartialViewResult ShoppingCart()
        {
            CartLayoutViewModel model = new CartLayoutViewModel();

            model.LoggedInUser = cartService.GetCurrentUserSynch();

            return(PartialView("~/Views/Shared/_ShoppingCart.cshtml", model));
        }
예제 #2
0
        // Navbar cart info
        public PartialViewResult ShoppingCart()
        {
            CartLayoutViewModel model = new CartLayoutViewModel();
            model.LoggedInUser = cartService.GetCurrentUserSynch();

            return PartialView("~/Views/Shared/_ShoppingCart.cshtml", model);
        }