Ejemplo n.º 1
0
        //------------------------------------------------------------------------------
        public virtual void CountGameVideoByUrl()
        {
            string _url = (string)util.GetParamValue(_context, "url");

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

            int i = api.CountGameVideoByUrl(
                _url
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Ejemplo n.º 2
0
        //------------------------------------------------------------------------------
        public virtual void CountGameVideoByUuidByExternalId()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");
            string _external_id = (string)util.GetParamValue(_context, "external_id");

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

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

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Ejemplo n.º 3
0
        //------------------------------------------------------------------------------
        public virtual void CountGameVideo()
        {
            ResponseGameVideoInt wrapper = new ResponseGameVideoInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-video/count";

            int i = api.CountGameVideo(
            );

            // get data
            wrapper.data = i;

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