Пример #1
0
        public Task Process(ApproveOrderRequest request, ApproveOrderResponse response)
        {
            _eventProcessor.ProcessEvents(response.Order);

            return(Task.FromResult(response));
        }
Пример #2
0
        public Task Process(ReceiveInventoryRequest request, ReceiveInventoryResponse response)
        {
            _eventProcessor.ProcessEvents(response.Stock);

            return(Task.FromResult(response));
        }