From 104f01e5150b6a29581edcbe9bf58115433d4723 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Sun, 27 Sep 2026 14:41:08 +0200 Subject: [PATCH] fixed create site visit error --- .../Services/Projects/ProjectService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/PostFundManagement.Application/Services/Projects/ProjectService.cs b/PostFundManagement.Application/Services/Projects/ProjectService.cs index 77fef60..6e6f3f0 100644 --- a/PostFundManagement.Application/Services/Projects/ProjectService.cs +++ b/PostFundManagement.Application/Services/Projects/ProjectService.cs @@ -762,6 +762,7 @@ public sealed class ProjectService(IDbContextFactory conte context.SiteVisits.Add(new Domain.Entities.SiteVisit { CreatedAt = DateTime.UtcNow, + ProjectId = request.ProjectId, CreatedBy = userId, InspectorName = request.InspectorName.Humanize(LetterCasing.Title).Trim(), Findings = request.Findings, -- 2.47.3