예제 #1
0
 public bool Equals([AllowNull] Booking other)
 {
     return(other != null &&
            Id == other.Id &&
            Uuid.Equals(other.Uuid) &&
            VehicleId == other.VehicleId &&
            VehicleUuid.Equals(other.VehicleUuid));
 }
 public bool Equals([AllowNull] FuelPurchase other)
 {
     return(other != null &&
            Id == other.Id &&
            Uuid.Equals(other.Uuid) &&
            BookingId == other.BookingId &&
            BookingUuid.Equals(other.BookingUuid) &&
            VehicleId == other.VehicleId &&
            VehicleUuid.Equals(other.VehicleUuid));
 }