15 lines
465 B
C#
15 lines
465 B
C#
using DD.Persistence.Models;
|
|
using Refit;
|
|
|
|
namespace DD.Persistence.Client.Clients.Interfaces.Refit;
|
|
public interface IRefitDataSourceSystemClient : IRefitClient, 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);
|
|
}
|