Esempio n. 1
0
 public HomeController(IUnitOfWork unitOfWork, IBookQuery bookQuery, IGenreQuery genreQuery, IBookService bookService)
 {
     _unitOfWork  = unitOfWork;
     _bookQuery   = bookQuery;
     _genreQuery  = genreQuery;
     _bookService = bookService;
 }
Esempio n. 2
0
 public BooksController(
     IBookImporter bookImporter,
     IBookQuery bookQuery,
     IBookRepository bookRepository,
     ArchiveBookService archiveBookService)
 {
     _bookImporter       = bookImporter;
     _bookQuery          = bookQuery;
     _bookRepository     = bookRepository;
     _archiveBookService = archiveBookService;
 }
Esempio n. 3
0
 public BookController(IMediator mediator, IBookQuery bookQuery)
 {
     _mediator  = mediator;
     _bookQuery = bookQuery;
 }