Esempio n. 1
0
        //------------------------------------------------------------------------------
        public virtual void CountProfileChannelByUuid()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");

            ResponseProfileChannelInt wrapper = new ResponseProfileChannelInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "profile-channel/count/by-uuid";

            int i = api.CountProfileChannelByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Esempio n. 2
0
        //------------------------------------------------------------------------------
        public virtual void CountProfileChannel()
        {
            ResponseProfileChannelInt wrapper = new ResponseProfileChannelInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "profile-channel/count";

            int i = api.CountProfileChannel(
            );

            // get data
            wrapper.data = i;

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