Пример #1
0
        public ActionResult SaveColumn(List <Sys_Table_Column_Type> data)
        {
            var db     = new CommonDal();
            var result = db.ColumnSave(data, Global.CurrentUser.RoleId);

            if (result.IsSuccess == true)
            {
                result.Message = AppRes.SuccessfulUpdate;
            }
            else
            {
                result.Message = AppRes.UpdateFailed;
            }
            return(Content(JsonConvert.SerializeObject(new
            {
                result
            })));
        }