public PlayerCompBalance GetPlayerCompBalance(int?PlayerID)
        {
            PlayerCompBalance playerCompBalance = null;

            try
            {
                GameInfoContext gameInfoContext = new GameInfoContext();
                playerCompBalance = gameInfoContext.GetPlayerCompBalance(PlayerID);
                if (playerCompBalance == null)
                {
                    _logger.InfoFormat(playerCompBalance, "No PlayerCompBalance has found.", "GetPlayerCompBalance");
                }
                else
                {
                    _logger.InfoFormat(playerCompBalance, "PlayerCompBalance has found.", "GetPlayerCompBalance");
                }
            }
            catch (Exception ex)
            {
                _logger.ErrorFormat(ex.TargetSite, ex.Message, ex.Source, "GetPlayerCompBalance");
            }
            return(playerCompBalance);
        }