//------------------------------------------------------------------------------ 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); }
//------------------------------------------------------------------------------ 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); }