public void AddTeam()
        {
            SelectedTeams.Add(SelectedTeamToAdd);
            AvailibleTeams.Remove(SelectedTeamToAdd);

            NotifyOfPropertyChange(() => CanCreateTournament);
        }
        public void Handle(TeamModel message)
        {
            if (!String.IsNullOrWhiteSpace(message.TeamName))
            {
                SelectedTeams.Add(message);
                NotifyOfPropertyChange(() => CanCreateTournament);
            }

            SelectedTeamsIsVisible = true;
            AddTeamIsVisible       = false;
        }
        private void addTeamButton_Click(object sender, RoutedEventArgs e)
        {
            TeamModel t = (TeamModel)selectTeamDropDown.SelectedItem;

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

            if (AvailableTeams.Count > 0)
            {
                selectTeamDropDown.SelectedIndex = 0;
            }
        }
 public void TeamComplete(TeamModel model)
 {
     SelectedTeams.Add(model);
 }