persistence/DD.Persistence/Repositories/IDataSchemeRepository.cs
Roman Efremov 4af65e258b
Some checks failed
Unit tests / test (push) Failing after 2m51s
Правки после ревью
2025-01-22 16:13:56 +05:00

25 lines
796 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.

using DD.Persistence.Models;
namespace DD.Persistence.Repositories;
/// <summary>
/// Репозиторий для работы со схемами наборов данных
/// </summary>
public interface IDataSchemeRepository
{
/// <summary>
/// Добавить схему
/// </summary>
/// <param name="dataSourceSystemDto"></param>
/// <param name="token"></param>
/// <returns></returns>
Task Add(DataSchemeDto dataSourceSystemDto, CancellationToken token);
/// <summary>
/// Вычитать схему
/// </summary>
/// <param name="dataSchemeId">Идентификатор схемы</param>
/// <param name="token"></param>
/// <returns></returns>
Task<DataSchemeDto?> Get(Guid dataSchemeId, CancellationToken token);
}