using AsbCloudApp.Data; using Refit; namespace AsbCloudWebApi.IntegrationTests.Clients; public interface IAdminDepositClient { private const string BaseRoute = "/api/admin/deposit"; [Post(BaseRoute)] Task> InsertAsync([Body] DepositBaseDto deposit); [Post($"{BaseRoute}/range")] Task> InsertRangeAsync([Body] IEnumerable deposits); [Put($"{BaseRoute}")] Task> UpdateAsync([Body] DepositBaseDto deposit); [Get(BaseRoute + "/{id}")] Task> GetOrDefaultAsync(int id); [Get(BaseRoute)] Task>> GetAllAsync(); [Delete(BaseRoute + "/{id}")] Task> DeleteAsync(int id); }