Пример #1
0
        public ActionResult GetRelationEntityJson(string keyValue)
        {
            var          baseInfo   = fromModuleBLL.GetRelationEntity(keyValue);
            ModuleEntity moduleInfo = null;

            if (baseInfo.F_FrmKind == 0)
            {
                moduleInfo = moduleBLL.GetEntity(baseInfo.F_ObjectId);
            }
            var data = new
            {
                baseInfo   = baseInfo,
                moduleInfo = moduleInfo
            };

            return(Content(data.ToJson()));
        }