23 lines
615 B
C#
23 lines
615 B
C#
|
using Persistence.Models;
|
|||
|
|
|||
|
namespace Persistence.Repositories;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Интерфейс по работе с системами
|
|||
|
/// </summary>
|
|||
|
public interface IDataSourceSystemRepository
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Добавить систему
|
|||
|
/// </summary>
|
|||
|
/// <param name="dataSourceSystemDto"></param>
|
|||
|
/// <returns></returns>
|
|||
|
public Task Add(DataSourceSystemDto dataSourceSystemDto, CancellationToken token);
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Получить список систем
|
|||
|
/// </summary>
|
|||
|
/// <returns></returns>
|
|||
|
public Task<IEnumerable<DataSourceSystemDto>> Get(CancellationToken token);
|
|||
|
}
|