public BooksController(ILoggerService logger, IBookCache bookCache, IUnitOfWork unitOfWork) { _logger = logger; _bookCache = bookCache; _unitOfWork = unitOfWork; }
public BookController(IBookService service, IBookCache bookCache, IHubContext <BookHub> bookHub) { this.service = service; this.service.BookChanged += OnBookChanged; this.bookCache = bookCache; this.bookHub = bookHub; }
public BookAppService( IBookCache bookCache, IRepository <Book> bookRepository, ICatalogCache catalogCache, IAuthorCache authorCache, ITagCache tagCache) { _bookCache = bookCache; _bookRepository = bookRepository; _catalogCache = catalogCache; _authorCache = authorCache; _tagCache = tagCache; }