Beispiel #1
0
 public RentedBike(Bike bike, DateTime startTime)
 {
     Bike      = bike;
     StartRent = startTime;
 }
Beispiel #2
0
 public void AddBike(Bike bike)
 {
     Bikes.Add(bike);
 }
Beispiel #3
0
 public Rental(Bike bike, Person person, int hours)
 {
     Bike   = bike;
     Person = person;
     Hours  = hours;
 }