2024-10-31 15:01:12 +05:00
|
|
|
|
namespace Persistence.Repositories;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2024-11-02 12:05:12 +05:00
|
|
|
|
/// Интерфейс по работе с данными
|
2024-10-31 15:01:12 +05:00
|
|
|
|
/// </summary>
|
2024-10-31 17:02:48 +05:00
|
|
|
|
/// <typeparam name="TDto"></typeparam>
|
|
|
|
|
public interface ISyncRepository<TDto>
|
2024-10-31 15:01:12 +05:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2024-11-12 13:36:09 +05:00
|
|
|
|
/// Получить данные, начиная с определенной даты
|
2024-10-31 15:01:12 +05:00
|
|
|
|
/// </summary>
|
2024-11-12 13:36:09 +05:00
|
|
|
|
/// <param name="dateBegin">дата начала</param>
|
2024-10-31 15:01:12 +05:00
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
2024-11-12 13:36:09 +05:00
|
|
|
|
Task<IEnumerable<TDto>> GetGtDate(DateTimeOffset dateBegin, CancellationToken token);
|
2024-10-31 15:01:12 +05:00
|
|
|
|
}
|