forked from ddrilling/AsbCloudServer
23 lines
733 B
C#
23 lines
733 B
C#
using AsbCloudApp.Data;
|
|
using System;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AsbCloudApp.Services
|
|
{
|
|
/// <summary>
|
|
/// Репозиторий расписания смен бурильщика
|
|
/// </summary>
|
|
public interface IScheduleRepository : IRepositoryWellRelated<ScheduleDto>
|
|
{
|
|
/// <summary>
|
|
/// получить бурильщика по idWell и времени
|
|
/// </summary>
|
|
/// <param name="idWell"></param>
|
|
/// <param name="workTime"></param>
|
|
/// <param name="token"></param>
|
|
/// <returns></returns>
|
|
Task<DrillerDto?> GetOrDefaultDrillerAsync(int idWell, DateTime workTime, CancellationToken token);
|
|
}
|
|
}
|