using AsbCloudApp.Data; using AsbCloudApp.Data.DetectedOperation; using AsbCloudApp.Requests; using Refit; namespace AsbCloudWebApi.IntegrationTests.Clients; public interface IDetectedOperationClient { private const string BaseRoute = "/api/well/{idWell}/DetectedOperation"; [Post(BaseRoute)] Task> InsertRangeAsync(int idWell, IEnumerable dtos); [Put(BaseRoute)] Task> UpdateRangeAsync(int idWell, IEnumerable dtos); [Delete(BaseRoute)] Task> DeleteRangeAsync(int idWell, [Body] IEnumerable ids); [Get(BaseRoute)] Task>> GetAsync(int idWell, [Query] DetectedOperationRequest request); }