Beispiel #1
0
        //------------------------------------------------------------------------------
        public virtual void CountGamePhotoByUrl()
        {
            string _url = (string)util.GetParamValue(_context, "url");

            ResponseGamePhotoInt wrapper = new ResponseGamePhotoInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-photo/count/by-url";

            int i = api.CountGamePhotoByUrl(
                _url
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Beispiel #2
0
        //------------------------------------------------------------------------------
        public virtual void CountGamePhotoByUuidByExternalId()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");
            string _external_id = (string)util.GetParamValue(_context, "external_id");

            ResponseGamePhotoInt wrapper = new ResponseGamePhotoInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-photo/count/by-uuid/by-external-id";

            int i = api.CountGamePhotoByUuidByExternalId(
                _uuid
                , _external_id
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Beispiel #3
0
        //------------------------------------------------------------------------------
        public virtual void CountGamePhoto()
        {
            ResponseGamePhotoInt wrapper = new ResponseGamePhotoInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-photo/count";

            int i = api.CountGamePhoto(
            );

            // get data
            wrapper.data = i;

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