//------------------------------------------------------------------------------ public virtual void CountGameLevelByUuid() { string _uuid = (string)util.GetParamValue(_context, "uuid"); ResponseGameLevelInt wrapper = new ResponseGameLevelInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-level/count/by-uuid"; int i = api.CountGameLevelByUuid( _uuid ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }
//------------------------------------------------------------------------------ public virtual void CountGameLevel() { ResponseGameLevelInt wrapper = new ResponseGameLevelInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-level/count"; int i = api.CountGameLevel( ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }