Exemple #1
0
 public SimulateRentService(IValidateItemStock validateItemStock,
                            ILaptopRepository laptopRepository,
                            ICustomerRepository customerRepository)
 {
     _validateItemStock  = validateItemStock;
     _laptopRepository   = laptopRepository;
     _customerRepository = customerRepository;
 }
Exemple #2
0
 public CreateRentService(
     IRentRepository rentRepository,
     ILaptopRepository laptopRepository,
     IValidateItemStock validateItemStock,
     ICustomerRepository customerRepository)
 {
     _rentRepository     = rentRepository;
     _laptopRepository   = laptopRepository;
     _validateItemStock  = validateItemStock;
     _customerRepository = customerRepository;
 }