Beispiel #1
0
 public void AddApartment(Apartment apartment)
 {
     Apartments.Add(apartment);
 }
Beispiel #2
0
 public void RemoveApartment(Apartment apartment)
 {
     Apartments.Remove(apartment);
 }
Beispiel #3
0
 public Rental(DateTime rentalDate, RentalModel rentalModel, Apartment apartment)
 {
     RentalDate  = rentalDate;
     RentalModel = rentalModel;
     Apartment   = apartment;
 }