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

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

            int i = api.CountProfileAttributeDataByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

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

            int i = api.CountProfileAttributeData(
            );

            // get data
            wrapper.data = i;

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