public JsonResult Select_BookRefModal() { string data; bool result = false; data = BookingOrderMethods.GetBookRefModal(Session["DealerCode"].ToString()); if (!string.IsNullOrEmpty(data)) { result = true; } return(Json(new { Success = result, Response = data }, JsonRequestBehavior.AllowGet)); }