Фикс месторождения

This commit is contained in:
Степанов Дмитрий 2023-12-26 12:12:14 +05:00
parent ebf512e3e9
commit 7e9c0d51c8

View File

@ -242,7 +242,8 @@ namespace AsbCloudInfrastructure
new CrudCacheRepositoryBase<DepositDto, Deposit>(
s.GetRequiredService<IAsbCloudDbContext>(),
s.GetRequiredService<IMemoryCache>(),
dbSet => dbSet.Include(d => d.Clusters)));
dbSet => dbSet.Include(d => d.Clusters)
.ThenInclude(c => c.Wells)));
services.AddTransient<ICrudRepository<CompanyDto>, CrudCacheRepositoryBase<CompanyDto, Company>>(s =>
new CrudCacheRepositoryBase<CompanyDto, Company>(
s.GetRequiredService<IAsbCloudDbContext>(),