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