示例#1
0
        public async Task <mds::GetAllOrderStateResponse> GetAll([FromQuery] mds::GetAllRequest request)
        {
            _logger.LogInformation("Executing {Action} {Message}", nameof(GetAll), request);

            if (_interceptor != null)
            {
                await _interceptor.Handle(request).ConfigureAwait(false);
            }

            return(await _service.GetAll(request).ConfigureAwait(false));
        }
示例#2
0
        public async Task <mds::GetAllCustomerEventResponse> GetAll([FromQuery] mds::GetAllRequest request)
        {
            _logger.LogInformation("Executing {Action} {Message}", nameof(GetAll), request);

            return(await _service.GetAll(request).ConfigureAwait(false));
        }