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

            ResponseProfileAttributeTextInt wrapper = new ResponseProfileAttributeTextInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "profile-attribute-text/count/by-uuid";

            int i = api.CountProfileAttributeTextByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Ejemplo n.º 2
0
        //------------------------------------------------------------------------------
        public virtual void CountProfileAttributeText()
        {
            ResponseProfileAttributeTextInt wrapper = new ResponseProfileAttributeTextInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "profile-attribute-text/count";

            int i = api.CountProfileAttributeText(
            );

            // get data
            wrapper.data = i;

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