Exemple #1
0
        public IActionResult RmrdCollection([FromBody] object data)
        {
            ListEngine _listEngine = new ListEngine();

            SetParam();
            return(_listEngine.List(data, FileName, "rmrd_collection"));
        }
Exemple #2
0
        public IActionResult BmcList()
        {
            SearchParam Param = new SearchParam()
            {
            };
            dynamic data = new ExpandoObject();

            data.data = Param;
            ListEngine _listEngine = new ListEngine();

            SetParam();
            return(_listEngine.List(JObject.FromObject(data), FileName, "bmc"));
        }
        public IActionResult test()
        {
            SearchParam search = new SearchParam
            {
            };

            dynamic data = new ExpandoObject();

            data.data = search;

            ListEngine listEngine = new ListEngine();

            SetParam();
            return(listEngine.List(JObject.FromObject(data), "/Config/List.json", "test"));
        }
Exemple #4
0
        public IActionResult DcsList(string bmc_code)
        {
            SearchParam Param = new SearchParam()
            {
                Param = new List <ConditionParameter>()
                {
                    new ConditionParameter {
                        PropertyName = "d.bmc_code", PropertyValue = bmc_code
                    },
                }
            };
            dynamic data = new ExpandoObject();

            data.data = Param;
            ListEngine _listEngine = new ListEngine();

            SetParam();
            return(_listEngine.List(JObject.FromObject(data), FileName, "dcs"));
        }