Ejemplo n.º 1
0
 public BookService(IBookRepository bookRepository,
                    INotifier notifier,
                    ILoanBookRespository loanBookRespository) : base(notifier)
 {
     _bookRepository      = bookRepository;
     _loanBookRespository = loanBookRespository;
 }
Ejemplo n.º 2
0
 public LoanService(INotifier notifier,
                    ILoanRepository loanRepository,
                    ILoanBookRespository loanBookRepository,
                    IBookRepository bookRepository, ILoanBookService loanBookService) : base(notifier)
 {
     _loanRepository     = loanRepository;
     _loanBookRepository = loanBookRepository;
     _bookRepository     = bookRepository;
     _loanBookService    = loanBookService;
 }
Ejemplo n.º 3
0
 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;
 }
Ejemplo n.º 4
0
 public LoanBookService(INotifier notifier,
                        ILoanBookRespository loanBookRepository) : base(notifier)
 {
     _loanBookRepository = loanBookRepository;
 }