public PaymentAuthorizedEventHandler( IEcommerceUnitOfWork unitOfWork, IOrderStatusWorkflow orderStatusWorkflow, IOrderStatusBroadcaster orderStatusBroadcaster) { _unitOfWork = unitOfWork; _orderStatusWorkflow = orderStatusWorkflow; _orderStatusBroadcaster = orderStatusBroadcaster; }
public PaymentCreatedEventHandler( IEcommerceUnitOfWork unitOfWork, IOrderStatusWorkflow orderStatusWorkflow, IMediator mediator, IOrderStatusBroadcaster orderStatusBroadcaster) { _unitOfWork = unitOfWork; _orderStatusWorkflow = orderStatusWorkflow; _mediator = mediator; _orderStatusBroadcaster = orderStatusBroadcaster; }