// Added by Bharat on 05 june 2017 public JsonResult GetQueryDefault(int UserQuery_ID) { Ctx ctx = Session["ctx"] as Ctx; ASearchModel mod = new ASearchModel(); return(Json(JsonConvert.SerializeObject(mod.GetQueryDefault(UserQuery_ID, ctx)), JsonRequestBehavior.AllowGet)); }
// Added by Bharat on 05 june 2017 public JsonResult GetData(string ColumnName, int Tab_ID, int Table_ID) { Ctx ctx = Session["ctx"] as Ctx; ASearchModel mod = new ASearchModel(); return(Json(JsonConvert.SerializeObject(mod.GetData(ColumnName, Tab_ID, Table_ID, ctx)), JsonRequestBehavior.AllowGet)); }
// Added by Bharat on 05 june 2017 public JsonResult GetNoOfRecrds(string RecQuery) { Ctx ctx = Session["ctx"] as Ctx; RecQuery = SecureEngineBridge.DecryptByClientKey(RecQuery, ctx.GetSecureKey()); ASearchModel mod = new ASearchModel(); return(Json(JsonConvert.SerializeObject(mod.GetNoOfRecrds(RecQuery, ctx)), JsonRequestBehavior.AllowGet)); }