diff --git a/AsbCloudApp/Requests/TelemetryPartDeleteRequest.cs b/AsbCloudApp/Requests/TelemetryPartDeleteRequest.cs index a47d17f5..1ac2519f 100644 --- a/AsbCloudApp/Requests/TelemetryPartDeleteRequest.cs +++ b/AsbCloudApp/Requests/TelemetryPartDeleteRequest.cs @@ -15,12 +15,12 @@ public class TelemetryPartDeleteRequest : IValidatableObject public int IdTelemetry { get; set; } /// - /// greater or equal then Date + /// greater or equal then Date. Must be set one of GeDate or LeDate /// public DateTimeOffset? GeDate { get; set; } /// - /// less or equal then Date + /// less or equal then Date. Must be set one of GeDate or LeDate /// public DateTimeOffset? LeDate { get; set; } diff --git a/AsbCloudInfrastructure/Repository/DrillTestRepository.cs b/AsbCloudInfrastructure/Repository/DrillTestRepository.cs index 0c28e6f3..a7bc82a0 100644 --- a/AsbCloudInfrastructure/Repository/DrillTestRepository.cs +++ b/AsbCloudInfrastructure/Repository/DrillTestRepository.cs @@ -85,7 +85,7 @@ namespace AsbCloudInfrastructure.Repository return dto; } - //TODO: Унифицировать модели данных телеметрии.Чтобы в будущем унифицировать репозитории данных телеметрии. + //TODO: Унифицировать модели данных телеметрии.Чтобы РІ будущем унифицировать репозитории данных телеметрии. private IQueryable BuildQuery(TelemetryPartDeleteRequest request) { var query = db.Set() diff --git a/AsbCloudInfrastructure/Services/SAUB/TelemetryDataEditorService.cs b/AsbCloudInfrastructure/Services/SAUB/TelemetryDataEditorService.cs index bc80b641..bcbf4c67 100644 --- a/AsbCloudInfrastructure/Services/SAUB/TelemetryDataEditorService.cs +++ b/AsbCloudInfrastructure/Services/SAUB/TelemetryDataEditorService.cs @@ -70,7 +70,7 @@ namespace AsbCloudInfrastructure.Services.SAUB public async Task DeleteAsync(TelemetryPartDeleteRequest request, CancellationToken token) { - int result = 0; + var result = 0; foreach (var repository in repositories) { result += await repository.DeleteAsync(request, token);