Example #1
0
        public ActionResult SaveDesign(string keyValue, string codes)
        {
            List <FormControlEntity> formControlModels = new List <FormControlEntity>();
            string formControls = Request["formControls"];

            if (!string.IsNullOrEmpty(formControls))
            {
                formControlModels = formControls.ToObject <List <FormControlEntity> >();
            }
            formApp.SaveDesign(keyValue, codes, formControlModels);
            return(Success("保存成功。"));
        }