forked from ddrilling/AsbCloudServer
#7053070 fix
This commit is contained in:
parent
dd469a0f9a
commit
b1512f7de3
@ -161,10 +161,7 @@ namespace AsbCloudInfrastructure
|
||||
.Include(c => c.Wells)
|
||||
.Include(c => c.Deposit))); // может быть включен в сервис ClusterService
|
||||
|
||||
services.AddTransient<ICrudService<DrillerDto>, CrudServiceBase<DrillerDto, Driller>>(s =>
|
||||
new CrudCacheServiceBase<DrillerDto, Driller>(
|
||||
s.GetService<IAsbCloudDbContext>(),
|
||||
dbSet => dbSet));
|
||||
services.AddTransient<ICrudService<DrillerDto>, CrudCacheServiceBase<DrillerDto, Driller>>();
|
||||
|
||||
services.AddTransient<IFileRepository, FileRepository>();
|
||||
services.AddTransient<IFileStorageRepository, FileStorageRepository>();
|
||||
|
Loading…
Reference in New Issue
Block a user