public ActionResult Add(int productId = 0, int productCount = 0) { var cart = GetCart(); CartHandler.AddProduct(productId, productCount, cart); var member = PublicUser.GetCurrentUser(); if (member == null || member.MemberId <= 0) { Session[Constants.CartKeyName] = cart; } return(Json(new { Success = true }, JsonRequestBehavior.AllowGet)); }