diff --git a/AsbCloudInfrastructure/Services/WellboreService.cs b/AsbCloudInfrastructure/Services/WellboreService.cs index 4cbf06fa..92a94b5d 100644 --- a/AsbCloudInfrastructure/Services/WellboreService.cs +++ b/AsbCloudInfrastructure/Services/WellboreService.cs @@ -7,7 +7,6 @@ using AsbCloudApp.Data.SAUB; using AsbCloudApp.Repositories; using AsbCloudApp.Requests; using AsbCloudApp.Services; -using AsbCloudInfrastructure.Services.SAUB; namespace AsbCloudInfrastructure.Services; @@ -68,10 +67,10 @@ public class WellboreService : IWellboreService if (dataCache is not null) { wellbore.DateStart = dataCache.Value.First.DateTime; - wellbore.DepthStart = dataCache.Value.First.WellDepth!.Value; + wellbore.DepthStart = dataCache.Value.First.WellDepth; wellbore.DateEnd = dataCache.Value.Last.DateTime; - wellbore.DepthEnd = dataCache.Value.Last.WellDepth!.Value; + wellbore.DepthEnd = dataCache.Value.Last.WellDepth; } } @@ -124,7 +123,7 @@ public class WellboreService : IWellboreService if (dataCache is not null) { wellbore.DateEnd = dataCache.Value.Last.DateTime; - wellbore.DepthEnd = dataCache.Value.Last.WellDepth!.Value; + wellbore.DepthEnd = dataCache.Value.Last.WellDepth; } } }