Exemplo n.º 1
0
 public RentalsController(
     IRentalServices rentalServices,
     IParameterBuilder parameterBuilder,
     ICustomerServices customerServices,
     IBookServices bookServices)
 {
     _rentalServices   = rentalServices;
     _customerServices = customerServices;
     _bookServices     = bookServices;
     _parameterBuilder = parameterBuilder;
 }
Exemplo n.º 2
0
 public RentalsController(IRentalServices rentalServices)
 {
     _rentalServices = rentalServices;
 }
Exemplo n.º 3
0
 public CustomersController(ICustomerServices customerServices, IParameterBuilder parameterBuilder, IRentalServices rentalServices)
 {
     _customerServices = customerServices;
     _parameterBuilder = parameterBuilder;
     _rentalServices   = rentalServices;
 }