2024-11-14 15:17:43 +05:00
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
using Refit;
|
|
|
|
|
|
|
|
|
|
namespace Persistence.IntegrationTests.Clients;
|
|
|
|
|
public interface ITimeSeriesClient<TDto>
|
|
|
|
|
where TDto : class, new()
|
|
|
|
|
{
|
|
|
|
|
[Post("/api/dataSaub")]
|
|
|
|
|
Task<IApiResponse<int>> InsertRangeAsync(IEnumerable<TDto> dtos);
|
2024-11-18 14:22:09 +05:00
|
|
|
|
|
|
|
|
|
[Get("/api/dataSaub")]
|
|
|
|
|
Task<IApiResponse<IEnumerable<TDto>>> GetAsync(DateTimeOffset dateBegin, DateTimeOffset dateEnd);
|
2024-11-14 15:17:43 +05:00
|
|
|
|
}
|