using AsbCloudApp.Data; using Refit; namespace AsbCloudWebApi.IntegrationTests.Clients; public interface ICrudWellRelatedClient where TDto : IId, IWellRelated { [Post("/")] Task> InsertAsync([Body] TDto dto); [Post("/range")] Task> InsertRangeAsync([Body] IEnumerable dtos); [Get("/")] Task>> GetAllAsync(); [Get("/well/{idWell}")] Task>> GetByIdWellAsync(int idWell); [Get("/{id}")] Task> GetOrDefaultAsync(int id); [Put("/")] Task> UpdateAsync([Body] TDto dto); [Delete("/{id}")] Task> DeleteAsync(int id); }