示例#1
0
        //------------------------------------------------------------------------------
        public virtual void CountProfileOrgByUuid()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");

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

            int i = api.CountProfileOrgByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
示例#2
0
        //------------------------------------------------------------------------------
        public virtual void CountProfileOrg()
        {
            ResponseProfileOrgInt wrapper = new ResponseProfileOrgInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "profile-org/count";

            int i = api.CountProfileOrg(
            );

            // get data
            wrapper.data = i;

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