From b6243f8100482beafb859fdef15508c70d2d0853 Mon Sep 17 00:00:00 2001 From: "ashutosh.nehete" Date: Mon, 1 Sep 2025 12:09:34 +0530 Subject: [PATCH] Added the document category in details --- Marco.Pms.Services/Controllers/DocumentController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Marco.Pms.Services/Controllers/DocumentController.cs b/Marco.Pms.Services/Controllers/DocumentController.cs index 798c255..0779a38 100644 --- a/Marco.Pms.Services/Controllers/DocumentController.cs +++ b/Marco.Pms.Services/Controllers/DocumentController.cs @@ -254,6 +254,7 @@ namespace Marco.Pms.Services.Controllers .ThenInclude(e => e!.JobRole) .Include(av => av.ChildAttachment) .ThenInclude(da => da!.DocumentType) + .ThenInclude(dt => dt!.DocumentCategory) .FirstOrDefaultAsync(av => av.ChildAttachmentId == id && av.TenantId == tenantId); // If no mapping found, return 404