Document_Manager #129
@ -1181,7 +1181,7 @@ namespace Marco.Pms.Services.Service
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ✅ Fetch and map
|
// ✅ Fetch and map
|
||||||
var documentType = await documentTypeQuery.ToListAsync();
|
var documentType = await documentTypeQuery.Include(dt => dt.DocumentCategory).ToListAsync();
|
||||||
var response = _mapper.Map<List<DocumentTypeVM>>(documentType);
|
var response = _mapper.Map<List<DocumentTypeVM>>(documentType);
|
||||||
|
|
||||||
_logger.LogInfo("{Count} document type fetched successfully for TenantId: {TenantId} by Employee {EmployeeId}",
|
_logger.LogInfo("{Count} document type fetched successfully for TenantId: {TenantId} by Employee {EmployeeId}",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user