//Added by Bharat on 05/June/2017 public ActionResult GetChatID(int RecordID) { Ctx ct = Session["ctx"] as Ctx; PaymentModel _payMdl = new PaymentModel(); return(Json(JsonConvert.SerializeObject(_payMdl.GetChatID(RecordID, ct)), JsonRequestBehavior.AllowGet)); }