DD.WellWorkover.Cloud/AsbCloudApp/Services/IWellCompositeService.cs

31 lines
1.1 KiB
C#
Raw Normal View History

2021-10-12 12:17:46 +05:00
using AsbCloudApp.Data;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace AsbCloudApp.Services
{
2022-08-09 11:10:01 +05:00
/// <summary>
/// Сервис создания композитной скважины
/// </summary>
2021-10-12 12:17:46 +05:00
public interface IWellCompositeService
{
2022-08-09 11:10:01 +05:00
/// <summary>
/// Получить секции композитной скважины
/// </summary>
/// <param name="idWell"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
2021-10-12 12:17:46 +05:00
Task<IEnumerable<WellCompositeDto>> GetAsync(int idWell, CancellationToken cancellationToken);
2022-08-09 11:10:01 +05:00
/// <summary>
/// сохранить секции композитной скважины
/// </summary>
/// <param name="idWell"></param>
/// <param name="wellComposites"></param>
/// <param name="token"></param>
/// <returns></returns>
2021-10-12 12:17:46 +05:00
Task<int> SaveAsync(int idWell, IEnumerable<WellCompositeDto> wellComposites, CancellationToken token);
}
}