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