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: 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; } public int IdTelemetry { get; set; }
/// <summary> /// <summary>
/// greater or equal then Date /// greater or equal then Date. Must be set one of GeDate or LeDate
/// </summary> /// </summary>
public DateTimeOffset? GeDate { get; set; } public DateTimeOffset? GeDate { get; set; }
/// <summary> /// <summary>
/// less or equal then Date /// less or equal then Date. Must be set one of GeDate or LeDate
/// </summary> /// </summary>
public DateTimeOffset? LeDate { get; set; } public DateTimeOffset? LeDate { get; set; }

View File

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

View File

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