using AsbCloudApp.Data.SAUB;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace AsbCloudApp.Services;
///
/// сервис пользователей телеметрии
///
public interface ITelemetryUserService
{
///
/// get user by ids
///
///
///
///
TelemetryUserDto? GetOrDefault(int idTelemetry, int idUser);
///
/// get users by id telemetry and predicate
///
///
///
///
IEnumerable GetUsers(int idTelemetry, Func? predicate = default);
///
/// получает и сохраняет/обновляет список пользователей панели оператора
///
///
///
///
///
Task UpsertAsync(string uid, IEnumerable dtos, CancellationToken token = default);
}