Пример #1
0
        public JsonResult GetSearchColumns(string tableName)
        {
            VIS.Models.InfoGeneralModel model = new Models.InfoGeneralModel();

            return(Json(new { result = model.GetSchema(tableName) }, JsonRequestBehavior.AllowGet));
            //return Json(new { result = "ok" }, JsonRequestBehavior.AllowGet);
        }
        public JsonResult GetSearchColumns(string tableName, string ad_Language, bool isBaseLangage)
        {
            //Change by mohit-to handle translation in general info.
            //Added 2 new parametere- string ad_Language, bool isBaseLangage.
            //Asked by mukesh sir- 09/03/2018

            VIS.Models.InfoGeneralModel model = new Models.InfoGeneralModel();

            return(Json(new { result = model.GetSchema(tableName, ad_Language, isBaseLangage) }, JsonRequestBehavior.AllowGet));
            //return Json(new { result = "ok" }, JsonRequestBehavior.AllowGet);
        }