//------------------------------------------------------------------------------ public virtual void CountGameProductByUrl() { string _url = (string)util.GetParamValue(_context, "url"); ResponseGameProductInt wrapper = new ResponseGameProductInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-product/count/by-url"; int i = api.CountGameProductByUrl( _url ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }
//------------------------------------------------------------------------------ public virtual void CountGameProductByUuidByGameId() { string _uuid = (string)util.GetParamValue(_context, "uuid"); string _game_id = (string)util.GetParamValue(_context, "game_id"); ResponseGameProductInt wrapper = new ResponseGameProductInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-product/count/by-uuid/by-game-id"; int i = api.CountGameProductByUuidByGameId( _uuid , _game_id ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }
//------------------------------------------------------------------------------ public virtual void CountGameProduct() { ResponseGameProductInt wrapper = new ResponseGameProductInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-product/count"; int i = api.CountGameProduct( ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }