using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using AsbCloudApp.Data; namespace AsbCloudApp.Services { public interface IDrillParamsService : ICrudService { Task GetDefaultDrillParamsAsync(int idWell, double startDepth, double endDepth, CancellationToken token = default); Task> GetAllAsync(int idWell, CancellationToken token = default); Task> GetCompositeAllAsync(int idWell, CancellationToken token = default); Task InsertAsync(int idWell, DrillParamsDto dto, CancellationToken token = default); Task InsertRangeAsync(int idWell, IEnumerable dtos, CancellationToken token = default); Task UpdateAsync(int idWell, int dtoId, DrillParamsDto dto, CancellationToken token = default); Task SaveAsync(int idWell, IEnumerable dtos, CancellationToken token = default); } }