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