Exemplo n.º 1
0
 public void AddTutorTutoringSession(TutorTutoringSession ptt)
 {
     if (!TutoringSessions.Contains(ptt))
     {
         ptt.Tutor = this;
         TutoringSessions.Add(ptt);
     }
 }
Exemplo n.º 2
0
        public override bool Equals(object obj)
        {
            TutorTutoringSession ht = obj as TutorTutoringSession;

            if (ht == null)
            {
                return(false);
            }
            return(Ssn == ht.Ssn && Code == ht.Code && StartTime == ht.StartTime && EndTime == ht.EndTime);
        }