From 3d6eb1a28c2ea6c125653373f9eade0d0b4c5d30 Mon Sep 17 00:00:00 2001 From: Olga Nemt Date: Wed, 15 Jan 2025 09:47:29 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B8=20=D0=B7=D0=B0=D0=BF=D0=B8?= =?UTF-8?q?=D1=81=D0=B8=20=D1=82=D0=B5=D1=85=D1=81=D0=BE=D0=BE=D0=B1=D1=89?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=B2=20=D0=B1=D0=B0=D0=B7=D1=83=20?= =?UTF-8?q?=D0=BD=D0=B5=D0=BE=D0=B1=D1=85=D0=BE=D0=B4=D0=B8=D0=BC=D0=BE=20?= =?UTF-8?q?=D0=B2=D1=80=D0=B5=D0=BC=D1=8F=20=D1=81=D0=BA=D0=BE=D0=BD=D0=B2?= =?UTF-8?q?=D0=B5=D1=80=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D1=82=D1=8C=20?= =?UTF-8?q?=D0=B2=20Utc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DD.Persistence.Repository/Repositories/TechMessagesRepository.cs | 1 + DD.Persistence/Repositories/ITechMessagesRepository.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/DD.Persistence.Repository/Repositories/TechMessagesRepository.cs b/DD.Persistence.Repository/Repositories/TechMessagesRepository.cs index 6bbb382..0bce538 100644 --- a/DD.Persistence.Repository/Repositories/TechMessagesRepository.cs +++ b/DD.Persistence.Repository/Repositories/TechMessagesRepository.cs @@ -91,6 +91,7 @@ namespace DD.Persistence.Repository.Repositories await CreateSystemIfNotExist(systemId, token); entity.SystemId = systemId; + entity.Timestamp = dto.Timestamp.ToUniversalTime(); entities.Add(entity); } diff --git a/DD.Persistence/Repositories/ITechMessagesRepository.cs b/DD.Persistence/Repositories/ITechMessagesRepository.cs index 9909106..638f341 100644 --- a/DD.Persistence/Repositories/ITechMessagesRepository.cs +++ b/DD.Persistence/Repositories/ITechMessagesRepository.cs @@ -19,6 +19,7 @@ namespace DD.Persistence.Repositories /// /// Добавление новых сообщений /// + /// /// /// ///