示例#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));
        }