public Task Process(ApproveOrderRequest request, ApproveOrderResponse response) { _eventProcessor.ProcessEvents(response.Order); return(Task.FromResult(response)); }
public Task Process(ReceiveInventoryRequest request, ReceiveInventoryResponse response) { _eventProcessor.ProcessEvents(response.Stock); return(Task.FromResult(response)); }