コード例 #1
0
        public async Task <mds::CustomerEventDto> Create([FromBody] mds::CreateCustomerEventRequest request)
        {
            _logger.LogInformation("Executing {Action} {Message}", nameof(Create), request);

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

            return(await _service.Create(request).ConfigureAwait(false));
        }
コード例 #2
0
 public Task <CustomerEventDto> Create([FromBody] CreateCustomerEventRequest __request)
 {
     return(_service.Create(__request));
 }