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