Files
hrynco-notification-service/HrynCo.NotificationService.DAL.Abstract/Repositories/INotificationServiceRepository.cs
T
agrynco 81654c0d33 feat(templates): add service language template management
Add normalized service and template catalogs, scoped administration, migration, validation, and regression coverage.

Ref: IT-1601
2026-10-17 22:02:43 +03:00

12 lines
596 B
C#

using HrynCo.NotificationService.DAL.Abstract.Templates;
namespace HrynCo.NotificationService.DAL.Abstract.Repositories;
public interface INotificationServiceRepository
{
Task<IReadOnlyList<NotificationServiceInfo>> GetAllAsync(CancellationToken ct = default);
Task<NotificationServiceInfo?> GetAsync(Guid id, CancellationToken ct = default);
Task SaveAsync(NotificationServiceInfo service, bool isNew, CancellationToken ct = default);
Task RemoveLanguageAsync(Guid serviceId, Guid languageId, int expectedVersionCount, Guid expectedRevision, CancellationToken ct = default);
}