public UserService(IUserRepository userRepository, IBookInventoryRepository inventoryRepository, IBookRentalRepository rentalRepository) { _userRepository = userRepository; _rentalRepository = rentalRepository; _inventoryRepository = inventoryRepository; }
public BookInventoryService(IBookInventoryRepository booksRepository, IBookRentalRepository rentalRepository, IGenresRepository genresRepository) { _inventoryRepository = booksRepository; _rentalRepository = rentalRepository; _genresRepository = genresRepository; }
public RentalService(IRentalRepository rentalRepository, IBookRentalRepository bookRentalRepository) { this.rentalRepository = rentalRepository; this.bookRentalRepository = bookRentalRepository; }