// GET: ShopNow public ActionResult Index() { var userId = Current.User.Identity.GetUserId(); var product = CartServices.GetAllProducts(); service.OpenCart(userId); return(View(product)); }
// GET: ShopNow public ActionResult Index() { var userId = Current.User.Identity.GetUserId(); var product = CartServices.GetAllProducts(); service.OpenCart(userId); return(View(product)); }