Esempio n. 1
0
        public override int GetHashCode()
        {
            var hashCode = Tutor.Id.GetHashCode() ^ AvailabilitySlot.GetHashCode();

            return(hashCode);
        }
Esempio n. 2
0
 protected bool Equals(TutorHours other)
 {
     return(Tutor.Id.Equals(other.Tutor.Id) &&
            AvailabilitySlot.Equals(other.AvailabilitySlot));
 }