public CustomerService() { reservationService = new ReservationService(); carRentalDbContext = new CarRentalDbContext(); }
/// <summary> /// CarService constructor, here we inject the reservation service instance and the result instance so we can obtain them faster. /// </summary> public CarService() { reservationService = new ReservationService(); result = new Dictionary <CarModel, decimal>(); }