Exemplo n.º 1
0
 public BLReservation(IRepositoryReservation reservationRep, IRepositoryCar carRep, IRepositoryClient clientRep, IUnitOfWork uow)
 {
     this.reservationRep = reservationRep;
     this.carRep         = carRep;
     this.clientRep      = clientRep;
     this.uow            = uow;
 }
Exemplo n.º 2
0
 public Seeder(CarRentalDbContext ctx, IRepositoryClient repClient, IRepositoryCar repCar, IRepositoryReservation repReservation, IUnitOfWork uow)
 {
     this.ctx            = ctx;
     this.repClient      = repClient;
     this.repCar         = repCar;
     this.repReservation = repReservation;
     this.uow            = uow;
 }
Exemplo n.º 3
0
 public ServiceCar(IRepositoryCar RepositoryCar)
     : base(RepositoryCar)
 {
     _repositoryCar = RepositoryCar;
 }
Exemplo n.º 4
0
 public CarsController(IRepositoryCar carService)
 {
     _carService = carService;
 }