Update gestione ceck esistenza tipo report (da subfolder)

This commit is contained in:
Samuele Locatelli
2026-04-09 12:18:23 +02:00
parent f3bfe84fe3
commit 52f1bd94ef
17 changed files with 82 additions and 93 deletions
@@ -139,7 +139,9 @@
public async Task<TemplateModel?> GetByIdAsync(int TemplateID)
{
await using var dbCtx = await CreateContextAsync();
return await dbCtx.DbSetTemplate.FirstOrDefaultAsync(x => x.TemplateID == TemplateID);
return await dbCtx.DbSetTemplate
.Include(x => x.TemplateRowNav)
.FirstOrDefaultAsync(x => x.TemplateID == TemplateID);
}
/// <inheritdoc />