fix clusterService

This commit is contained in:
Фролов 2021-08-11 17:14:11 +05:00
parent f13b757a84
commit f0f9d1df73

View File

@ -27,7 +27,7 @@ namespace AsbCloudInfrastructure.Services
.Include(w => w.Cluster)
.ThenInclude(c => c.Deposit)
where well.RelationCompaniesWells.Any(r => r.IdCompany == idCompany)
select well).AsNoTracking().ToListAsync(token);
select well).ToListAsync(token); // Do not use AsNoTracking(). Next Grouping doesn't work.
var gDepositEntities = wellEntities
.GroupBy(w => w.Cluster)