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