public void AddServer(int gameID, int serverId, string serverName, string serverUrl, string status, string intranetAddress) { CacheServer cacheServer = new CacheServer(); cacheServer.AddToCache(new ServerInfo() { ID = serverId, GameID = gameID, ServerName = serverName, ServerUrl = serverUrl, Status = status, IntranetAddress = intranetAddress }); }
public void AddServer(int gameID, int serverId, string serverName, string serverUrl, string status, string intranetAddress) { CacheServer cacheServer = new CacheServer(); cacheServer.AddToCache(new ServerInfo() { ID = serverId, GameID = gameID, ServerName = serverName, ServerUrl = serverUrl, Status = status, IntranetAddress = intranetAddress }); }