Пример #1
0
        public void AddMember()
        {
            SelectedTeamMembers.Add(SelectedTeamMemberToAdd);
            AvailibleTeamMembers.Remove(SelectedTeamMemberToAdd);

            NotifyOfPropertyChange(() => CanCreateTeam);
        }
Пример #2
0
        public void Handle(PersonModel message)
        {
            if (!string.IsNullOrWhiteSpace(message.FullName))
            {
                SelectedTeamMembers.Add(message);
                NotifyOfPropertyChange(() => CanCreateTeam);
            }

            SelectedTeamMembersIsVisible = true;
            AddPersonIsVisible           = false;
        }