Exemplo n.º 1
0
 public bool Equals(SeatsNotReserved other)
 {
     return(Customer == other.Customer &&
            Seats.Count == other.Seats.Count &&
            Seats.All((seat) => other.Seats.Contains(seat)) &&
            Reason == other.Reason);
 }
Exemplo n.º 2
0
 public bool Equals(SeatsReserved other)
 {
     return(Customer == other.Customer &&
            Screening == other.Screening &&
            Seats.Count == other.Seats.Count &&
            Seats.All((seat) => other.Seats.Contains(seat)));
 }