Fix encoding and some descriptions

This commit is contained in:
ngfrolov 2024-07-24 15:23:25 +05:00
parent 1f2f3206b1
commit d59da670ae
Signed by untrusted user who does not match committer: ng.frolov
GPG Key ID: E99907A0357B29A7
3 changed files with 4 additions and 4 deletions

View File

@ -15,12 +15,12 @@ public class TelemetryPartDeleteRequest : IValidatableObject
public int IdTelemetry { get; set; }
/// <summary>
/// greater or equal then Date
/// greater or equal then Date. Must be set one of GeDate or LeDate
/// </summary>
public DateTimeOffset? GeDate { get; set; }
/// <summary>
/// less or equal then Date
/// less or equal then Date. Must be set one of GeDate or LeDate
/// </summary>
public DateTimeOffset? LeDate { get; set; }

View File

@ -85,7 +85,7 @@ namespace AsbCloudInfrastructure.Repository
return dto;
}
//TODO: Унифицировать модели данных телеметрии.Чтобы в будущем унифицировать репозитории данных телеметрии.
//TODO: Унифицировать модели данных телеметрии.Чтобы в будущем унифицировать репозитории данных телеметрии.
private IQueryable<DrillTest> BuildQuery(TelemetryPartDeleteRequest request)
{
var query = db.Set<DrillTest>()

View File

@ -70,7 +70,7 @@ namespace AsbCloudInfrastructure.Services.SAUB
public async Task<int> DeleteAsync(TelemetryPartDeleteRequest request, CancellationToken token)
{
int result = 0;
var result = 0;
foreach (var repository in repositories)
{
result += await repository.DeleteAsync(request, token);