using MemberCenter.Application.Models.Newsletter; namespace MemberCenter.Application.Abstractions; public interface INewsletterService { Task SubscribeAsync(Guid listId, string email, Dictionary? preferences); Task ConfirmAsync(string token); Task IssueUnsubscribeTokenAsync(Guid listId, string email); Task UnsubscribeAsync(string token); Task GetPreferencesAsync(Guid listId, string email); Task UpdatePreferencesAsync(Guid listId, string email, Dictionary preferences); Task> ListSubscriptionsAsync(Guid listId); }