Beispiel #1
0
        public async Task <mds::SoftDeleteOrderDto> Update(Guid id, [FromBody] mds::UpdateSoftDeleteOrderRequest request)
        {
            request.Id = id;

            _logger.LogInformation("Executing {Action} {Message}", nameof(Update), request);

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

            return(await _service.Update(request).ConfigureAwait(false));
        }
Beispiel #2
0
 public Task <SoftDeleteOrderDto> Update(Guid id, [FromBody] UpdateSoftDeleteOrderRequest __request)
 {
     __request.Id = id;
     return(_service.Update(__request));
 }