Beispiel #1
0
        //------------------------------------------------------------------------------
        public virtual void CountGameCategoryTreeByUuid()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");

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

            int i = api.CountGameCategoryTreeByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Beispiel #2
0
        //------------------------------------------------------------------------------
        public virtual void CountGameCategoryTree()
        {
            ResponseGameCategoryTreeInt wrapper = new ResponseGameCategoryTreeInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-category-tree/count";

            int i = api.CountGameCategoryTree(
            );

            // get data
            wrapper.data = i;

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