public BookLoanService(IBookLoanRepository bookLoanRepository, IUserRepository userRepository, IBookInventoryRepository bookInventoryRepository, IMapper mapper) { _bookLoanRepository = bookLoanRepository; _userRepository = userRepository; _bookInventoryRepository = bookInventoryRepository; _mapper = mapper; }
public RequestLoanCommandHandler(IPersonRepository personRepository, IBookRepository bookRepository, IBookLoanRepository bookLoanRepository, IEventDispatcher eventDispatcher) { _personRepository = personRepository; _bookRepository = bookRepository; _bookLoanRepository = bookLoanRepository; _eventDispatcher = eventDispatcher; }
public BookLoanCommandHandler(IBookLoanService bookLoanService, IUserRepository userRepository, IBookLoanRepository bookLoanRepository, IBookRepository bookRepository, IMapper <BookLoan, BookLoanInfoDTO> bookLoanMapper) { _bookLoanService = bookLoanService; _userRepository = userRepository; _bookLoanRepository = bookLoanRepository; _bookLoanMapper = bookLoanMapper; _bookRepository = bookRepository; }
public ReturnBookCommandHandler(IBookLoanRepository bookLoanRepository) { _bookLoanRepository = bookLoanRepository; }
public BookReturnedEventHandler(IBookLoanRepository bookLoanRepository, IBookLoanService bookLoanService) { _bookLoanRepository = bookLoanRepository; _bookLoanService = bookLoanService; }