From 2dd04d403767a00ee1b25d1ed6c991a03d22462a Mon Sep 17 00:00:00 2001 From: Olga Nemt Date: Thu, 9 Mar 2023 11:56:36 +0500 Subject: [PATCH] =?UTF-8?q?=D0=BC=D0=B8=D0=BD=D0=B8-=D0=BF=D1=80=D0=B0?= =?UTF-8?q?=D0=B2=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Services/DailyReport/DailyReportService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AsbCloudInfrastructure/Services/DailyReport/DailyReportService.cs b/AsbCloudInfrastructure/Services/DailyReport/DailyReportService.cs index c1587c45..cdaf137c 100644 --- a/AsbCloudInfrastructure/Services/DailyReport/DailyReportService.cs +++ b/AsbCloudInfrastructure/Services/DailyReport/DailyReportService.cs @@ -127,7 +127,7 @@ namespace AsbCloudInfrastructure.Services.DailyReport public async Task UpdateBlockAsync(int idWell, DateTime date, Tdto dto, CancellationToken token) { - var startDateOnly = date.Date.ExtractDateOnly(); + var startDateOnly = date.ExtractDateOnly(); var entity = await db.DailyReports.FirstOrDefaultAsync(r => r.IdWell == idWell && r.StartDate == startDateOnly, token); if (entity is null)