2024-12-16 15:38:46 +05:00
|
|
|
|
using DD.Persistence.Models;
|
2024-12-12 17:05:47 +05:00
|
|
|
|
|
2024-12-16 15:38:46 +05:00
|
|
|
|
namespace DD.Persistence.Repositories;
|
2024-12-12 17:05:47 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2024-12-13 15:30:11 +05:00
|
|
|
|
/// Интерфейс по работе с системами - источниками данных
|
2024-12-12 17:05:47 +05:00
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IDataSourceSystemRepository
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Добавить систему
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="dataSourceSystemDto"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public Task Add(DataSourceSystemDto dataSourceSystemDto, CancellationToken token);
|
|
|
|
|
|
2024-12-13 15:30:11 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получить список систем
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public Task<IEnumerable<DataSourceSystemDto>> Get(CancellationToken token);
|
2024-12-12 17:05:47 +05:00
|
|
|
|
}
|