Example #1
0
        public static void AddParticipant(string name, string phoneNumner, string email)
        {
            var participantToAdd = new Participant(_participants.Count + 1, name, phoneNumner, null);

            participantToAdd.Email = email;
            ParticipantsManager.AddParticipantPairing(participantToAdd);
            _participants.Add(participantToAdd);
        }
Example #2
0
 public static void AddParticipant(Participant participant)
 {
     ParticipantsManager.AddParticipantPairing(participant);
     _participants.Add(participant);
 }