public ActionResult DeleteCart(Guid cartId)
        {
            var      objResponse = new ResponseObject();
            CartList cartList    = new CartList();

            string SessionID = string.Empty;

            if (Session["sessionid"] == null)
            {
                SessionID = Convert.ToString(Session["sessionid"]);
            }
            string userName = string.IsNullOrEmpty(Convert.ToString(User.Identity.Name)) ? string.Empty : User.Identity.Name;
            var    user     = UserManager.Users.Where(u => u.Email == userName).FirstOrDefault();
            CartBL obj      = new CartBL();
            int    value    = obj.DeleteCart(cartId, SessionID, user);

            obj = null;
            if (value > 0)
            {
                objResponse.IsSuccess      = "true";
                objResponse.StrResponse    = CommonFunction.SuccessMessage("Cart.", "Product deleted successfully.");
                cartList.CartViewModelList = this.RefreshList();
            }
            else
            {
                objResponse.IsSuccess   = "false";
                objResponse.StrResponse = CommonFunction.ErrorMessage("Cart.", "Something went wrong!");
            }
            return(Json(new
            {
                html = this.RenderRazorViewToString("_getCartList", cartList),
                objResponse
            }, JsonRequestBehavior.AllowGet));
        }