14 lines
390 B
C#
14 lines
390 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
using Refit;
|
|
|
|
namespace Persistence.Client.Clients;
|
|
public interface ITimeSeriesClient<TDto>
|
|
where TDto : class, new()
|
|
{
|
|
[Post("/api/dataSaub")]
|
|
Task<IApiResponse<int>> InsertRangeAsync(IEnumerable<TDto> dtos);
|
|
|
|
[Get("/api/dataSaub")]
|
|
Task<IApiResponse<IEnumerable<TDto>>> GetAsync(DateTimeOffset dateBegin, DateTimeOffset dateEnd);
|
|
}
|