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