Добавлена зависимость 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( public WellCompositeOperationService(
ICrudRepository<WellSectionTypeDto> wellSectionTypeRepository, ICrudRepository<WellSectionTypeDto> wellSectionTypeRepository,
IWellOperationCategoryRepository wellOperationCategoryRepository, IWellOperationCategoryRepository wellOperationCategoryRepository,
IWellService wellService) IWellService wellService,
IWellOperationService wellOperationService)
{ {
this.wellSectionTypeRepository = wellSectionTypeRepository; this.wellSectionTypeRepository = wellSectionTypeRepository;
this.wellOperationCategoryRepository = wellOperationCategoryRepository; this.wellOperationCategoryRepository = wellOperationCategoryRepository;
this.wellService = wellService; this.wellService = wellService;
this.wellOperationService = wellOperationService;
} }
public async Task<WellCompositeOperationDto> GetAsync(IEnumerable<int> idsWells, CancellationToken token) public async Task<WellCompositeOperationDto> GetAsync(IEnumerable<int> idsWells, CancellationToken token)

View File

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