Пример #1
0
 public void RemoveNonMember(NonMember nonMember)
 {
     if (nonMember != null)
     {
         List <NonMember> hList = NonMembers.ToList();
         hList.Remove(nonMember);
         NonMembers = hList;
     }
 }
Пример #2
0
 public void AddNonMember(NonMember nonMember)
 {
     if (nonMember != null)
     {
         List <NonMember> hList = NonMembers.ToList();
         hList.Add(nonMember);
         NonMembers = hList;
     }
 }