using AsbCloudApp.Data; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace AsbCloudApp.Services { public interface IWellSectionService { Task> GetAllByWellIdAsync(int idWell, int skip = 0, int take = 32, CancellationToken token = default); Task GetAsync(int id, CancellationToken token = default); Task InsertAsync(WellSectionDto newItem, int idWell, CancellationToken token = default); Task> InsertRangeAsync(int idWell, IEnumerable newItems, CancellationToken token = default); Task UpdateAsync(int idWell, int idSection, WellSectionDto item, CancellationToken token = default); Task DeleteAsync(IEnumerable ids, CancellationToken token = default); } }