Ejemplo n.º 1
0
 public CustomerService()
 {
     reservationService = new ReservationService();
     carRentalDbContext = new CarRentalDbContext();
 }
Ejemplo n.º 2
0
 /// <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>();
 }