Merge branch 'work-group-2' into dev

This commit is contained in:
Mikhail Trubnikov
2024-06-04 12:06:42 +10:00
15 changed files with 227 additions and 20 deletions

View File

@@ -27,7 +27,7 @@ namespace PARR.DAL.Services.Implementations
public async Task<Template?> GetTemplateByNameAsync(string name)
{
return await GetWithIncludes()
.Include(t=>t.RobotConfigurations)
.Include(t => t.RobotConfigurations)
.FirstOrDefaultAsync(t => t.Name == name);
}
@@ -36,6 +36,8 @@ namespace PARR.DAL.Services.Implementations
return Get()
.Include(h => h.Host)
.ThenInclude(t => t!.ResponseArea)
.Include(h => h.Host)
.ThenInclude(t => t!.WorkGroupItem)
.Include(h => h.Host)
.ThenInclude(t => t!.EkStatus)
.Include(a => a.ApplicationsInWork)