diff --git a/AsbCloudInfrastructure/Services/DataService.cs b/AsbCloudInfrastructure/Services/DataService.cs index 6af94f90..ea45fb20 100644 --- a/AsbCloudInfrastructure/Services/DataService.cs +++ b/AsbCloudInfrastructure/Services/DataService.cs @@ -17,7 +17,7 @@ namespace AsbCloudInfrastructure.Services { private readonly IAsbCloudDbContext db; private readonly ITelemetryService telemetryService; - private readonly ITelemetryAnalyticsService analyticsService; + //private readonly ITelemetryAnalyticsService analyticsService; private readonly CacheTable cacheTelemetry; private readonly CacheTable cacheTelemetryUsers; private readonly CacheTable cacheWells; @@ -27,7 +27,7 @@ namespace AsbCloudInfrastructure.Services { this.db = db; this.telemetryService = telemetryService; - this.analyticsService = analyticsService; + //this.analyticsService = analyticsService; cacheTelemetry = cacheDb.GetCachedTable((AsbCloudDbContext)db); cacheTelemetryUsers = cacheDb.GetCachedTable((AsbCloudDbContext)db); cacheWells = cacheDb.GetCachedTable((AsbCloudDbContext)db); @@ -107,8 +107,8 @@ namespace AsbCloudInfrastructure.Services dataSaub.IdTelemetry = telemetryId; db.TelemetryDataSaub.Add(dataSaub); - dto.IdTelemetry = telemetryId; - analyticsService.SaveAnalytics(dto); + //dto.IdTelemetry = telemetryId; + //analyticsService.SaveAnalytics(dto); } return await db.SaveChangesAsync(token);