using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using AsbCloudApp.Data; namespace AsbCloudApp.Services { public interface IWellOperationService { IEnumerable GetCategories(); Task> GetOperationsAsync( int idWell, int? opertaionType = null, IEnumerable sectionTypeIds = null, IEnumerable operationCategoryIds = null, DateTime begin = default, DateTime end = default, double minDepth = double.MinValue, double maxDepth = double.MaxValue, int skip = 0, int take = 32, CancellationToken token = default); Task GetAsync(int id, CancellationToken token); Task InsertRangeAsync(int idWell, IEnumerable wellOperationDtos, CancellationToken token); Task UpdateAsync(int idWell, int idOperation, WellOperationDto item, CancellationToken token); Task DeleteAsync(IEnumerable ids, CancellationToken token); } }