public void RemoveTeamFromTournament()
        {
            if (SelectedTournamentTeam != null)
            {
                AvailableTeams.Add(SelectedTournamentTeam);
                TournamentTeams.Remove(SelectedTournamentTeam);
            }

            ValidateData();
        }
        private void removeSelectedTeamButton_Click(object sender, RoutedEventArgs e)
        {
            TeamModel t = (TeamModel)tournamentTeamsListBox.SelectedItem;

            if (t != null)
            {
                SelectedTeams.Remove(t);
                AvailableTeams.Add(t);

                if (AvailableTeams.Count > 0)
                {
                    selectTeamDropDown.SelectedIndex = 0;
                }
            }
        }