DD.WellWorkover.Cloud/AsbCloudApp/Services/IDrillFlowChartService.cs
2021-10-13 17:34:32 +05:00

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);
}
}