public void AddGame(int gameID, string gameName) { CacheGame cacheGame = new CacheGame(); cacheGame.AddToCache(new GameInfo() { ID = gameID, Name = gameName }); }
public void AddGameNew(int gameID, string gameName, string currency, decimal multiple, string gameWord, string agentsID, bool isRelease, DateTime releaseDate, string payStyle, string SocketServer, int SocketPort) { CacheGame cacheGame = new CacheGame(); cacheGame.AddToCache(new GameInfo() { ID = gameID, Name = gameName, Currency = currency, Multiple = multiple, GameWord = gameWord, AgentsID = agentsID, IsRelease = isRelease, ReleaseDate = releaseDate, PayStyle = payStyle, SocketServer = SocketServer, SocketPort = SocketPort }); }