public void UpdatePlayer(Player player)
        {
            if (repo.Keys.Contains(player.Id) == false)
            {
                throw new PlayerGatewayException(PlayerGatewayException.GetMessageFor(PlayerGatewayExceptions.PlayerWithIdDNE));
            }

            repo[player.Id] = player;
        }
        public Player GetPlayerForAccount(int accountId)
        {
            Player player = GetPlayerInternalForAccount(accountId);

            if (player == null)
            {
                throw new PlayerGatewayException(PlayerGatewayException.GetMessageFor(PlayerGatewayExceptions.PlayerWithAccountDNE));
            }
            return(player);
        }
        public void DeletePlayerWithAccount(int accountId)
        {
            Player player = GetPlayerInternalForAccount(accountId);

            if (player == null)
            {
                throw new PlayerGatewayException(PlayerGatewayException.GetMessageFor(PlayerGatewayExceptions.PlayerWithAccountDNE));
            }

            Delete(player.Id);
        }