public ReadersController(IReaderStore store, ILoggerManager logger)
        {
            this.logger = logger;
            this.store  = store;

            this.logger.LogInformation("On the ReadersController constructor");
        }
Example #2
0
 public GetReaderLeasesService(IReaderStore readerStore, ItemService itemService)
 {
     _itemService = itemService;
     _readerStore = readerStore;
 }
 public LeaseBookService(IReaderStore readerStore, ItemService itemService, IEventPublisher eventPublisher)
 {
     _itemService    = itemService;
     _eventPublisher = eventPublisher;
     _readerStore    = readerStore;
 }