Добавлена зависимость wellOperationService внутрь WellCompositeOperationService

This commit is contained in:
Olga Nemt 2024-08-14 12:35:21 +05:00
parent b7d1d26722
commit ad4e7f113e
2 changed files with 5 additions and 2 deletions

View File

@ -206,11 +206,13 @@ public class WellCompositeOperationService : IWellCompositeOperationService
public WellCompositeOperationService(
ICrudRepository<WellSectionTypeDto> wellSectionTypeRepository,
IWellOperationCategoryRepository wellOperationCategoryRepository,
IWellService wellService)
IWellService wellService,
IWellOperationService wellOperationService)
{
this.wellSectionTypeRepository = wellSectionTypeRepository;
this.wellOperationCategoryRepository = wellOperationCategoryRepository;
this.wellService = wellService;
this.wellOperationService = wellOperationService;
}
public async Task<WellCompositeOperationDto> GetAsync(IEnumerable<int> idsWells, CancellationToken token)

View File

@ -175,7 +175,8 @@ namespace AsbCloudWebApi.Tests.Services.WellCompositeOperation
service = new WellCompositeOperationService(
wellSectionTypeRepository,
wellOperationCategoryRepository,
wellService);
wellService,
wellOperationService);
}
/// <summary>