示例#1
0
 public void Book(ITransport transport)
 {
     if (CheckAvailability() == AVailabilityStatus.Available)
     {
         transport.Book();
         Payement();
     }
 }