public RentalsController(IRentalsService rentalsService) { _rentalsService = rentalsService; }
public RentalsController(IRentalsService rentalsService, IUnitOfWork unitOfWork) { _unitOfWork = unitOfWork; _rentalsService = rentalsService; }
public RentalsController(IRentalsService rentalsDal) { _rentalsService = rentalsDal; }
public RentalsController(IRentalsService rentalsService, IBooksService booksService, ICustomersService customersService) { _rentalsService = rentalsService; _booksService = booksService; _customersService = customersService; }