コード例 #1
0
ファイル: BasePlatformService.cs プロジェクト: drawcode/bom
        //------------------------------------------------------------------------------
        public virtual void CountEventCategoryTreeByUuid()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");

            ResponseEventCategoryTreeInt wrapper = new ResponseEventCategoryTreeInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "event-category-tree/count/by-uuid";

            int i = api.CountEventCategoryTreeByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
コード例 #2
0
ファイル: BasePlatformService.cs プロジェクト: drawcode/bom
        //------------------------------------------------------------------------------
        public virtual void CountEventCategoryTree()
        {
            ResponseEventCategoryTreeInt wrapper = new ResponseEventCategoryTreeInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "event-category-tree/count";

            int i = api.CountEventCategoryTree(
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }