Added the document category in details

This commit is contained in:
ashutosh.nehete 2025-09-01 12:09:34 +05:30
parent 727df6e828
commit b6243f8100

View File

@ -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