From cd489f45ae782ceeabbc0f255e5104500d1c9611 Mon Sep 17 00:00:00 2001 From: "ashutosh.nehete" Date: Wed, 3 Sep 2025 13:15:15 +0530 Subject: [PATCH] added the document categeory vm in document type --- Marco.Pms.Services/Service/MasterService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marco.Pms.Services/Service/MasterService.cs b/Marco.Pms.Services/Service/MasterService.cs index 26e642b..b60f399 100644 --- a/Marco.Pms.Services/Service/MasterService.cs +++ b/Marco.Pms.Services/Service/MasterService.cs @@ -1181,7 +1181,7 @@ namespace Marco.Pms.Services.Service } // ✅ Fetch and map - var documentType = await documentTypeQuery.ToListAsync(); + var documentType = await documentTypeQuery.Include(dt => dt.DocumentCategory).ToListAsync(); var response = _mapper.Map>(documentType); _logger.LogInfo("{Count} document type fetched successfully for TenantId: {TenantId} by Employee {EmployeeId}",