public JsonResult SaveAppSetting(NodeRequestParam param) { IAppSettingService appSetService = IocMvcFactoryHelper.GetInterface <IAppSettingService>(); JsonData json = appSetService.Add(new CategoryItems() { ItemDesc = param.Desc, Code = param.Code, ParentCode = param.ParentCode, Name = param.Name, ParentId = param.ParentId, ItemValue = param.Value }); return(Json(json)); }