Exemplo n.º 1
0
        //------------------------------------------------------------------------------
        public virtual void CountGameAppByUuid()
        {
            string _uuid = (string)util.GetParamValue(_context, "uuid");

            ResponseGameAppInt wrapper = new ResponseGameAppInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-app/count/by-uuid";

            int i = api.CountGameAppByUuid(
                _uuid
            );

            // get data
            wrapper.data = i;

            util.SerializeTypeToResponse(_format, _context, wrapper);
        }
Exemplo n.º 2
0
        //------------------------------------------------------------------------------
        public virtual void CountGameApp()
        {
            ResponseGameAppInt wrapper = new ResponseGameAppInt();
            wrapper.message = "Success";
            wrapper.code = 0;
            wrapper.action = "game-app/count";

            int i = api.CountGameApp(
            );

            // get data
            wrapper.data = i;

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