public BooksController() { _commandPublisher = InjectContainer.GetInstance <ICommandPublisher>(); _reportDatabase = InjectContainer.GetInstance <IInventoryReportDataAccessor>(); }
public BookInventoryOutStoredEventHandler(IInventoryReportDataAccessor reportDataAccessor, ICommandTracker commandTracker) { _reportDataAccessor = reportDataAccessor; _commandTracker = commandTracker; }
public BookNameChangedEventHandler(IInventoryReportDataAccessor reportDataAccessor) { _reportDataAccessor = reportDataAccessor; }
public RentBookRequestAcceptedEventHandler(IInventoryReportDataAccessor reportDataAccessor, ICommandTracker commandTracker, ILogger logger, IDomainRepository domainRepository, IEventPublisher eventPublisher) : base(reportDataAccessor, commandTracker, logger, domainRepository, eventPublisher) { }