Esempio n. 1
0
        public JsonResult EditDict(string data)
        {
            T_Sys_Dict dict = JsonHelper.ConvertJsonString2Object <T_Sys_Dict>(data);
            MsgEntity  me   = dictService.EditDict(dict);

            return(this.Json(me, JsonRequestBehavior.DenyGet));
        }
Esempio n. 2
0
        public JsonResult AddDict(string data)
        {
            T_Sys_Dict dict = JsonHelper.ConvertJsonString2Object <T_Sys_Dict>(data);

            dict.ID = RandomHelper.GetUUID();
            MsgEntity me = dictService.AddDict(dict);

            return(this.Json(me, JsonRequestBehavior.DenyGet));
        }