From ad4e7f113e775b4fce6417f0603de3b6942a992d Mon Sep 17 00:00:00 2001 From: Olga Nemt Date: Wed, 14 Aug 2024 12:35:21 +0500 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=B7=D0=B0=D0=B2=D0=B8=D1=81=D0=B8=D0=BC=D0=BE?= =?UTF-8?q?=D1=81=D1=82=D1=8C=20wellOperationService=20=D0=B2=D0=BD=D1=83?= =?UTF-8?q?=D1=82=D1=80=D1=8C=20WellCompositeOperationService?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Services/WellCompositeOperationService.cs | 4 +++- .../WellCompositeOperationServiceTest.cs | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/AsbCloudInfrastructure/Services/WellCompositeOperationService.cs b/AsbCloudInfrastructure/Services/WellCompositeOperationService.cs index 209161f7..12c78a42 100644 --- a/AsbCloudInfrastructure/Services/WellCompositeOperationService.cs +++ b/AsbCloudInfrastructure/Services/WellCompositeOperationService.cs @@ -206,11 +206,13 @@ public class WellCompositeOperationService : IWellCompositeOperationService public WellCompositeOperationService( ICrudRepository wellSectionTypeRepository, IWellOperationCategoryRepository wellOperationCategoryRepository, - IWellService wellService) + IWellService wellService, + IWellOperationService wellOperationService) { this.wellSectionTypeRepository = wellSectionTypeRepository; this.wellOperationCategoryRepository = wellOperationCategoryRepository; this.wellService = wellService; + this.wellOperationService = wellOperationService; } public async Task GetAsync(IEnumerable idsWells, CancellationToken token) diff --git a/AsbCloudWebApi.Tests/Services/WellCompositeOperation/WellCompositeOperationServiceTest.cs b/AsbCloudWebApi.Tests/Services/WellCompositeOperation/WellCompositeOperationServiceTest.cs index b8bf0791..7216aa09 100644 --- a/AsbCloudWebApi.Tests/Services/WellCompositeOperation/WellCompositeOperationServiceTest.cs +++ b/AsbCloudWebApi.Tests/Services/WellCompositeOperation/WellCompositeOperationServiceTest.cs @@ -175,7 +175,8 @@ namespace AsbCloudWebApi.Tests.Services.WellCompositeOperation service = new WellCompositeOperationService( wellSectionTypeRepository, wellOperationCategoryRepository, - wellService); + wellService, + wellOperationService); } ///