示例#1
0
        static void Main(string[] args)
        {
            var rentCompany = new RentCompany(new List <Car> {
                new Car("Solaris"),
                new Car("Benz"),
                new Car("Civic"),
                new Car("Kalina")
            });

            var user = new User("Anatoly", false);

            Console.WriteLine(_dateTime);
        }
 public List <Car> GetAvailableCars(RentCompany rentCompany)
 {
     return(CarShower.GetAvailableCars(rentCompany.AllCars));
 }
 public FacadeRentCompany(RentCompany rentCompany)
 {
     RentCompany = rentCompany;
 }