public bool Equals(BookingPassengerInfoChild other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; if (other.Id == 0 && Id == 0) return false; else return other.Id == Id; }
public AgeSeatValidator(BookingPassengerInfoChild child) { this.child = child; }