2026-01-30 10:40:55 +10:00
|
|
|
|
using PARR.DAL.Models.Schedule;
|
|
|
|
|
|
|
|
|
|
|
|
namespace PARR.DAL.Services.Interfaces.Schedule
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface IScheduleResponseAreaTimeOffsetService
|
|
|
|
|
|
{
|
2026-02-03 16:15:19 +10:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Список всех значений
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
IReadOnlyDictionary<string, ScheduleResponseAreaTimeOffset> GetAll { get; }
|
2026-01-30 10:40:55 +10:00
|
|
|
|
|
2026-02-03 16:15:19 +10:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Значение по умолчанию
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
ScheduleResponseAreaTimeOffset GetDefault { get; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Получить значение по ЗО, если не найдет, то значение по умолчанию
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="responseArea"></param>
|
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
|
ScheduleResponseAreaTimeOffset GetByResponseAreaOrDefault(string responseArea);
|
2026-01-30 10:40:55 +10:00
|
|
|
|
}
|
|
|
|
|
|
}
|