public void DeleteExistGameServer(string endPoint)
        {
            var isGameServer = dbContext.GameServerEntities.First(x => x.EndPoint == endPoint);

            if (isGameServer == null)
            {
                InfoGameEntity infoGame = new InfoGameEntity()
                {
                    Id = isGameServer.InfoId
                };
                dbContext.InfoGameEntities.Attach(infoGame);
                dbContext.InfoGameEntities.Remove(infoGame);
                dbContext.GameServerEntities.Remove(isGameServer);
            }
        }
 public void AddGameInfo(InfoGameEntity item)
 {
     dbContext.InfoGameEntities.Add(item);
     dbContext.SaveChanges();
 }