//------------------------------------------------------------------------------ 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); }
//------------------------------------------------------------------------------ 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); }