using AsbCloudApp.Data; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace AsbCloudApp.Services { public interface IWellOperationService { IEnumerable<WellOperationCategoryDto> GetCategories(); Task<PaginationContainer<WellOperationDto>> GetOperationsAsync( int idWell, int? opertaionType = null, IEnumerable<int> sectionTypeIds = null, IEnumerable<int> 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<WellOperationDto> GetAsync(int id, CancellationToken token); Task<int> InsertRangeAsync(int idWell, IEnumerable<WellOperationDto> wellOperationDtos, CancellationToken token); Task<int> UpdateAsync(int idWell, int idOperation, WellOperationDto item, CancellationToken token); Task<int> DeleteAsync(IEnumerable<int> ids, CancellationToken token); } }