2024-12-16 15:38:46 +05:00
|
|
|
|
using DD.Persistence.Models;
|
2024-12-12 17:05:47 +05:00
|
|
|
|
using Refit;
|
|
|
|
|
|
2024-12-16 15:38:46 +05:00
|
|
|
|
namespace DD.Persistence.Client.Clients.Interfaces.Refit;
|
2024-12-12 17:05:47 +05:00
|
|
|
|
public interface IRefitDataSourceSystemClient : IDisposable
|
|
|
|
|
{
|
|
|
|
|
private const string BaseRoute = "/api/dataSourceSystem";
|
|
|
|
|
|
|
|
|
|
[Get($"{BaseRoute}")]
|
|
|
|
|
Task<IApiResponse<IEnumerable<DataSourceSystemDto>>> Get(CancellationToken token);
|
|
|
|
|
|
|
|
|
|
[Post($"{BaseRoute}")]
|
|
|
|
|
Task<IApiResponse> Add(DataSourceSystemDto dataSourceSystemDto, CancellationToken token);
|
|
|
|
|
}
|