DD.WellWorkover.Cloud/AsbCloudApp/Services/IScheduleService.cs
ngfrolov f4b3dfd9fe doc
2022-08-09 11:10:01 +05:00

24 lines
753 B
C#

using AsbCloudApp.Data;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace AsbCloudApp.Services
{
/// <summary>
/// Сервис расписания смен бурильщика
/// </summary>
public interface IScheduleService : ICrudWellRelatedService<ScheduleDto>
{
// TODO: this should be nullable.
/// <summary>
/// получить бурильщика по idWell и времени
/// </summary>
/// <param name="idWell"></param>
/// <param name="workTime"></param>
/// <param name="token"></param>
/// <returns></returns>
Task<DrillerDto> GetDrillerAsync(int idWell, DateTime workTime, CancellationToken token);
}
}