//------------------------------------------------------------------------------ public virtual void CountGameNetworkByUuidByType() { string _uuid = (string)util.GetParamValue(_context, "uuid"); string _type = (string)util.GetParamValue(_context, "type"); ResponseGameNetworkInt wrapper = new ResponseGameNetworkInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-network/count/by-uuid/by-type"; int i = api.CountGameNetworkByUuidByType( _uuid , _type ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }
//------------------------------------------------------------------------------ public virtual void CountGameNetwork() { ResponseGameNetworkInt wrapper = new ResponseGameNetworkInt(); wrapper.message = "Success"; wrapper.code = 0; wrapper.action = "game-network/count"; int i = api.CountGameNetwork( ); // get data wrapper.data = i; util.SerializeTypeToResponse(_format, _context, wrapper); }