From 7fcb77f5b48990048193dbacf283e8b01eb63cd2 Mon Sep 17 00:00:00 2001 From: ngfrolov Date: Fri, 27 Jan 2023 11:59:51 +0500 Subject: [PATCH] Fix return types --- .../Controllers/SAUB/TelemetryDataBaseController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AsbCloudWebApi/Controllers/SAUB/TelemetryDataBaseController.cs b/AsbCloudWebApi/Controllers/SAUB/TelemetryDataBaseController.cs index 51640915..15e15f9b 100644 --- a/AsbCloudWebApi/Controllers/SAUB/TelemetryDataBaseController.cs +++ b/AsbCloudWebApi/Controllers/SAUB/TelemetryDataBaseController.cs @@ -72,7 +72,7 @@ namespace AsbCloudWebApi.Controllers.SAUB /// [HttpGet("{idWell}")] [Permission] - public virtual async Task> GetDataAsync(int idWell, DateTime begin = default, + public virtual async Task>> GetDataAsync(int idWell, DateTime begin = default, int intervalSec = 600, int approxPointsCount = 1024, CancellationToken token = default) { int? idCompany = User.GetCompanyId(); @@ -102,7 +102,7 @@ namespace AsbCloudWebApi.Controllers.SAUB [Route("{idWell}/datesRange")] [Permission] [ProducesResponseType(typeof(DatesRangeDto), (int)System.Net.HttpStatusCode.OK)] - public virtual async Task GetDataDatesRangeAsync(int idWell, + public virtual async Task> GetDataDatesRangeAsync(int idWell, CancellationToken token = default) { int? idCompany = User.GetCompanyId();