Esempio n. 1
0
        //------------------------------------------------------------------------------
        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);
        }
Esempio n. 2
0
        //------------------------------------------------------------------------------
        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);
        }