Update gestione ceck esistenza tipo report (da subfolder)
This commit is contained in:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user