feat(espptemplatesync): метод обновление статуса Manager адаптирован на работу с RobotConfigurationService
This commit is contained in:
@@ -25,7 +25,9 @@ namespace PARR.DAL.Services.Implementations
|
||||
|
||||
public async Task<Template?> GetTemplateByNameAsync(string name)
|
||||
{
|
||||
return await GetWithIncludes().FirstOrDefaultAsync(t => t.Name == name);
|
||||
return await GetWithIncludes()
|
||||
.Include(t=>t.RobotConfigurations)
|
||||
.FirstOrDefaultAsync(t => t.Name == name);
|
||||
}
|
||||
|
||||
public IQueryable<Template> GetWithIncludes()
|
||||
|
||||
Reference in New Issue
Block a user