1
0
DD.WellWorkover.Cloud/AsbCloudApp/Services/Notifications/INotificationSenderManager.cs
Степанов Дмитрий Александрович 83ee280fbb Рефакторинг
1. Поменял время жизни для отправителей уведомлений.
2. Добавил метод в контроллере для получения уведомления по Id.
3. Поправил хаб уведомлений
4. Небольшие фиксы в репозитории и сервисах
2023-07-12 13:31:55 +05:00

16 lines
521 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using AsbCloudApp.Data;
namespace AsbCloudApp.Services.Notifications;
/// <summary>
/// Сервис для работы с отправителями уведомлений
/// </summary>
public interface INotificationSenderManager
{
/// <summary>
/// Метод получения нужного отправителя уведомлений
/// </summary>
/// <param name="notificationTransport"></param>
/// <returns></returns>
INotificationSender? GetOrDefault(NotificationTransport notificationTransport);
}