From 0c56a12d66a157c0acfb042cae6dfd0ef90cf3c6 Mon Sep 17 00:00:00 2001 From: Olga Nemt Date: Tue, 17 Oct 2023 16:14:08 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BD=D1=8B=20=D0=BB?= =?UTF-8?q?=D0=B8=D1=88=D0=BD=D0=B8=D0=B5=20=D1=8E=D0=B7=D0=B8=D0=BD=D0=B3?= =?UTF-8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AsbCloudWebApi/Controllers/SAUB/DrillTestController.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/AsbCloudWebApi/Controllers/SAUB/DrillTestController.cs b/AsbCloudWebApi/Controllers/SAUB/DrillTestController.cs index e452814a..45330d26 100644 --- a/AsbCloudWebApi/Controllers/SAUB/DrillTestController.cs +++ b/AsbCloudWebApi/Controllers/SAUB/DrillTestController.cs @@ -1,14 +1,10 @@ -using AsbCloudApp.Data; -using AsbCloudApp.Data.GTR; -using AsbCloudApp.Data.SAUB; +using AsbCloudApp.Data.SAUB; using AsbCloudApp.Repositories; using AsbCloudApp.Services; -using AsbCloudInfrastructure.Repository; using AsbCloudWebApi.SignalR; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.SignalR; using System; -using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; @@ -54,7 +50,7 @@ namespace AsbCloudWebApi.Controllers.SAUB CancellationToken token) { var telemetry = telemetryService.GetOrCreateTelemetryByUid(uid); - if(telemetry is null) + if (telemetry is null) throw new Exception($"Telemetry with RemoteUid: {uid} does not exist."); await drillTestRepository.SaveDataAsync(telemetry.Id, dto, token);