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

            ResponseOfferGameLocationInt wrapper = new ResponseOfferGameLocationInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "offer-game-location/count/by-uuid";

            int i = api.CountOfferGameLocationByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Example #2
0
        //------------------------------------------------------------------------------
        public virtual void CountOfferGameLocation()
        {
            ResponseOfferGameLocationInt wrapper = new ResponseOfferGameLocationInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "offer-game-location/count";

            int i = api.CountOfferGameLocation(
            );

            // get data
            wrapper.data = i;

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