public override int GetHashCode() { var hashCode = Tutor.Id.GetHashCode() ^ AvailabilitySlot.GetHashCode(); return(hashCode); }
protected bool Equals(TutorHours other) { return(Tutor.Id.Equals(other.Tutor.Id) && AvailabilitySlot.Equals(other.AvailabilitySlot)); }