public ActionResult CapNhatSoLuong(string maSp, int soLuong) { int id = Convert.ToInt32(maSp.Substring(7, maSp.Length - 7)); GioHang objCart = (GioHang)Session["Cart"]; if (objCart != null) { if (objCart.CapNhatSoLuong(id, soLuong)) { Session["Cart"] = objCart; } } return(RedirectToAction("index")); }