public InventoryCommandHandler( IInventoryEventRepository inventoryEventRepository, IInventoryWriteRepository inventoryWriteRepository ) { _inventoryEventRepository = inventoryEventRepository; _inventoryWriteRepository = inventoryWriteRepository; }
public InventoryService( IInventoryReadRepository inventoryReadRepository, IInventoryEventRepository inventoryEventRepository, IInventoryCommandHandler inventoryCommandHandler ) { _inventoryReadRepository = inventoryReadRepository; _inventoryEventRepository = inventoryEventRepository; _inventoryCommandHandler = inventoryCommandHandler; }
public InventoryItemEvents(IInventoryEventRepository eventStore, Guid aggregateId) : base(eventStore, aggregateId) { }