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

24 lines
765 B
C#
Raw Normal View History

using AsbCloudApp.Data;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace AsbCloudApp.Services
{
2022-08-09 11:10:01 +05:00
/// <summary>
/// Репозиторий расписания смен бурильщика
2022-08-09 11:10:01 +05:00
/// </summary>
public interface IScheduleRepository : IRepositoryWellRelated<ScheduleDto>
{
2022-08-09 11:10:01 +05:00
// 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);
}
}