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)