예제 #1
0
 public void RemoveReferralToSpecialist(ReferralToSpecialist oldReferralToSpecialist)
 {
     if (oldReferralToSpecialist == null)
     {
         return;
     }
     if (this.referralToSpecialist != null)
     {
         if (this.referralToSpecialist.Contains(oldReferralToSpecialist))
         {
             this.referralToSpecialist.Remove(oldReferralToSpecialist);
         }
     }
 }
예제 #2
0
 public void AddReferralToSpecialist(ReferralToSpecialist newReferralToSpecialist)
 {
     if (newReferralToSpecialist == null)
     {
         return;
     }
     if (this.referralToSpecialist == null)
     {
         this.referralToSpecialist = new System.Collections.Generic.List <ReferralToSpecialist>();
     }
     if (!this.referralToSpecialist.Contains(newReferralToSpecialist))
     {
         this.referralToSpecialist.Add(newReferralToSpecialist);
     }
 }