2024-07-04 11:02:45 +05:00
|
|
|
using AsbCloudApp.Data.SAUB;
|
2021-04-23 10:21:25 +05:00
|
|
|
using System.Collections.Generic;
|
2021-08-11 16:54:42 +05:00
|
|
|
using System.Threading;
|
|
|
|
using System.Threading.Tasks;
|
2021-04-23 10:21:25 +05:00
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
namespace AsbCloudApp.Services;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Сервис сохранения списка сообщений от панелей
|
|
|
|
/// </summary>
|
|
|
|
public interface IEventService
|
2021-04-23 10:21:25 +05:00
|
|
|
{
|
2022-08-05 17:52:42 +05:00
|
|
|
/// <summary>
|
2024-08-19 10:01:07 +05:00
|
|
|
/// Сохранить. Добавить или заменить.
|
2022-08-05 17:52:42 +05:00
|
|
|
/// </summary>
|
2024-08-19 10:01:07 +05:00
|
|
|
/// <param name="uid"></param>
|
|
|
|
/// <param name="dtos"></param>
|
|
|
|
/// <param name="token"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
Task UpsertAsync(string uid, IEnumerable<EventDto> dtos,
|
|
|
|
CancellationToken token = default);
|
2021-04-23 10:21:25 +05:00
|
|
|
}
|