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)); }
public Task <CustomerEventDto> Create([FromBody] CreateCustomerEventRequest __request) { return(_service.Create(__request)); }