public LoanService(INotifier notifier, ILoanRepository loanRepository, ILoanBookRespository loanBookRepository, IBookRepository bookRepository, ILoanBookService loanBookService) : base(notifier) { _loanRepository = loanRepository; _loanBookRepository = loanBookRepository; _bookRepository = bookRepository; _loanBookService = loanBookService; }
public LoansController(ILoanRepository loanRepository, ILoanService loanService, IMapper mapper, INotifier notifier, ILoanBookService loanBookService, ILoanBookRespository loanBookRespository) : base(notifier) { _loanRepository = loanRepository; _loanService = loanService; _mapper = mapper; _loanBookService = loanBookService; _loanBookRespository = loanBookRespository; }