persistence/Persistence/Repositories/ISyncRepository.cs
Olga Nemt 828864c112 Тестовые проект(ы) для реализации интерфейсов Persistence:
- Persistence.API
- Persistence.Database
- Persistence.Repository
- Persistence.IntegrationTests
2024-11-14 15:17:43 +05:00

18 lines
586 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace Persistence.Repositories;
/// <summary>
/// Интерфейс по работе с данными
/// </summary>
/// <typeparam name="TDto"></typeparam>
public interface ISyncRepository<TDto>
where TDto : class, new()
{
/// <summary>
/// Получить данные, начиная с определенной даты
/// </summary>
/// <param name="dateBegin">дата начала</param>
/// <param name="token"></param>
/// <returns></returns>
Task<IEnumerable<TDto>> GetGtDate(DateTimeOffset dateBegin, CancellationToken token);
}