using Microsoft.AspNetCore.Mvc; using Persistence.Models; using Refit; namespace Persistence.IntegrationTests.Clients; public interface ITimeSeriesClient where TDto : class, new() { private const string BaseRoute = "/api/dataSaub"; [Post($"{BaseRoute}")] Task> InsertRange(IEnumerable dtos); [Get($"{BaseRoute}")] Task>> Get(DateTimeOffset dateBegin, DateTimeOffset dateEnd); [Get($"{BaseRoute}/resampled")] Task>> GetResampledData(DateTimeOffset dateBegin, double intervalSec = 600d, int approxPointsCount = 1024); [Get($"{BaseRoute}/datesRange")] Task> GetDatesRange(); }