Document_Manager #129
@ -544,7 +544,11 @@ namespace Marco.Pms.Services.Controllers
|
|||||||
// Retrieve the tags that belong to the specified tenant and project only the names (performance: projection)
|
// Retrieve the tags that belong to the specified tenant and project only the names (performance: projection)
|
||||||
var tags = await context.DocumentTagMasters
|
var tags = await context.DocumentTagMasters
|
||||||
.Where(dt => dt.TenantId == tenantId)
|
.Where(dt => dt.TenantId == tenantId)
|
||||||
.Select(dt => dt.Name)
|
.Select(dt => new
|
||||||
|
{
|
||||||
|
Name = dt.Name,
|
||||||
|
IsActive = true
|
||||||
|
})
|
||||||
.ToListAsync();
|
.ToListAsync();
|
||||||
|
|
||||||
_logger.LogInfo("Successfully retrieved {TagCount} document tags for tenant {TenantId}.", tags.Count, tenantId);
|
_logger.LogInfo("Successfully retrieved {TagCount} document tags for tenant {TenantId}.", tags.Count, tenantId);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user