2021-10-14 10:18:43 +05:00
|
|
|
using System;
|
2021-10-13 17:34:32 +05:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Threading;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using AsbCloudApp.Data;
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Services
|
|
|
|
{
|
2021-10-14 10:18:43 +05:00
|
|
|
public interface IDrillFlowChartService : ICrudService<DrillFlowChartDto>
|
2021-10-13 17:34:32 +05:00
|
|
|
{
|
2021-10-14 10:18:43 +05:00
|
|
|
Task<IEnumerable<DrillFlowChartDto>> GetAllAsync(int idWell,
|
|
|
|
DateTime updateFrom, CancellationToken token = default);
|
2021-10-13 17:34:32 +05:00
|
|
|
|
2021-10-14 10:18:43 +05:00
|
|
|
Task<int> InsertAsync(int idWell, DrillFlowChartDto dto,
|
2021-10-13 17:34:32 +05:00
|
|
|
CancellationToken token = default);
|
|
|
|
|
2021-10-14 10:18:43 +05:00
|
|
|
Task<int> InsertRangeAsync(int idWell, IEnumerable<DrillFlowChartDto> dtos,
|
2021-10-13 17:34:32 +05:00
|
|
|
CancellationToken token = default);
|
|
|
|
|
2021-10-14 10:18:43 +05:00
|
|
|
Task<int> UpdateAsync(int idWell, int idDto, DrillFlowChartDto dto,
|
2021-10-13 17:34:32 +05:00
|
|
|
CancellationToken token = default);
|
|
|
|
}
|
|
|
|
}
|