forked from ddrilling/AsbCloudServer
21 lines
1.1 KiB
C#
21 lines
1.1 KiB
C#
using AsbCloudApp.Data;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AsbCloudApp.Services
|
|
{
|
|
public interface IWellSectionService
|
|
{
|
|
Task<string[]> GetTypesAsync(CancellationToken token);
|
|
Task<PaginationContainer<WellOperationsDto>> GetAggregatedWellByWellIdAsync(int idWell,
|
|
int skip, int take, CancellationToken token);
|
|
Task<PaginationContainer<WellSectionDto>> GetSectionsByWellIdAsync(int idWell, int skip = 0, int take = 32,
|
|
CancellationToken token = default);
|
|
Task<WellSectionDto> GetSectionByWellIdAsync(int id, CancellationToken token = default);
|
|
//Task<WellSectionDto> InsertAsync(WellSectionDto newItem, int idWell, CancellationToken token = default);
|
|
//Task<IEnumerable<WellSectionDto>> InsertRangeAsync(int idWell, IEnumerable<WellSectionDto> newItems, CancellationToken token = default);
|
|
//Task<WellSectionDto> UpdateAsync(int idWell, int idSection, WellSectionDto item, CancellationToken token = default);
|
|
//Task<int> DeleteAsync(IEnumerable<int> ids, CancellationToken token = default);
|
|
}
|
|
}
|