Exemple #1
0
 public Seat Seat(SeatId seatId)
 {
     return(Seats.First(x => x.Id.Equals(seatId)));
 }
Exemple #2
0
 public Seat(SeatId id)
 {
     Id = id;
 }
 protected bool Equals(SeatId other)
 {
     return(Row == other.Row && SeatNumber == other.SeatNumber);
 }