added the document categeory vm in document type

This commit is contained in:
ashutosh.nehete 2025-09-03 13:15:15 +05:30
parent 4c2b33472b
commit cd489f45ae

View File

@ -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<List<DocumentTypeVM>>(documentType);
_logger.LogInfo("{Count} document type fetched successfully for TenantId: {TenantId} by Employee {EmployeeId}",