diff --git a/AsbCloudInfrastructure/Services/ClusterService.cs b/AsbCloudInfrastructure/Services/ClusterService.cs index 52e4046e..d315f314 100644 --- a/AsbCloudInfrastructure/Services/ClusterService.cs +++ b/AsbCloudInfrastructure/Services/ClusterService.cs @@ -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)