@@ -1773,7 +1773,8 @@ public class OrderController : BaseController
}
_mapper.Map(dto, order);
- await _orderRepository.UpdateNav(order).Include(d => d.OrderExtension).ExecuteCommandAsync();
+ if (dto.Files.Any()) order.FileJson = await _fileRepository.AddFileAsync(dto.Files, order.Id, HttpContext.RequestAborted);
+ await _orderRepository.UpdateNav(order).Include(d => d.OrderExtension).ExecuteCommandAsync();
/// <summary>