forked from ddrilling/AsbCloudServer
31 lines
1.1 KiB
C#
31 lines
1.1 KiB
C#
using AsbCloudApp.Data;
|
|
using System.Collections.Generic;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AsbCloudApp.Services
|
|
{
|
|
/// <summary>
|
|
/// Сервис создания композитной скважины
|
|
/// </summary>
|
|
public interface IWellCompositeService
|
|
{
|
|
/// <summary>
|
|
/// Получить секции композитной скважины
|
|
/// </summary>
|
|
/// <param name="idWell"></param>
|
|
/// <param name="cancellationToken"></param>
|
|
/// <returns></returns>
|
|
Task<IEnumerable<WellCompositeDto>> GetAsync(int idWell, CancellationToken cancellationToken);
|
|
|
|
/// <summary>
|
|
/// сохранить секции композитной скважины
|
|
/// </summary>
|
|
/// <param name="idWell"></param>
|
|
/// <param name="wellComposites"></param>
|
|
/// <param name="token"></param>
|
|
/// <returns></returns>
|
|
Task<int> SaveAsync(int idWell, IEnumerable<WellCompositeDto> wellComposites, CancellationToken token);
|
|
}
|
|
}
|