81654c0d33
Add normalized service and template catalogs, scoped administration, migration, validation, and regression coverage. Ref: IT-1601
12 lines
596 B
C#
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);
|
|
}
|