forked from ddrilling/AsbCloudServer
22 lines
764 B
C#
22 lines
764 B
C#
|
using System.Collections.Generic;
|
||
|
using System.Threading;
|
||
|
using System.Threading.Tasks;
|
||
|
using AsbCloudApp.Data;
|
||
|
|
||
|
namespace AsbCloudApp.Services
|
||
|
{
|
||
|
public interface IDrillFlowChartService : ICrudService<DrillFlowChartParamsDto>
|
||
|
{
|
||
|
Task<IEnumerable<DrillFlowChartParamsDto>> GetAllAsync(int idWell,
|
||
|
CancellationToken token = default);
|
||
|
|
||
|
Task<int> InsertAsync(int idWell, DrillFlowChartParamsDto dto,
|
||
|
CancellationToken token = default);
|
||
|
|
||
|
Task<int> InsertRangeAsync(int idWell, IEnumerable<DrillFlowChartParamsDto> dtos,
|
||
|
CancellationToken token = default);
|
||
|
|
||
|
Task<int> UpdateAsync(int idWell, int idDto, DrillFlowChartParamsDto dto,
|
||
|
CancellationToken token = default);
|
||
|
}
|
||
|
}
|