feat: Перенесены внешние сервисы в Infrastructure. Удалены лишние проекты.
This commit is contained in:
14
PARR.Core/Common/Interfaces/IInfluxDbService.cs
Normal file
14
PARR.Core/Common/Interfaces/IInfluxDbService.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using InfluxDB.Client;
|
||||
|
||||
namespace PARR.Core.Common.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Сервис взаимодействия с InfluxDb
|
||||
/// </summary>
|
||||
public interface IInfluxDbService
|
||||
{
|
||||
Task<T> QueryAsync<T>(Func<QueryApi, Task<T>> action, string token);
|
||||
|
||||
bool Write(Action<WriteApi> action, string token);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user