Exemple #1
0
        public async Task UpdateSubscriberTopicsAsync(string email, string[] topicCodes)
        {
            var request = new UpdateSubscriberTopics.Request {
                SubscriberEmail = email, Topics = topicCodes
            };

            setupPermissions(request);
            await _dispatcher.DispatchAsync <UpdateSubscriberTopics.Request, UpdateSubscriberTopics.Response>(request);
        }
Exemple #2
0
        public void UpdateSubscriberTopics(string email, string[] topicCodes)
        {
            var request = new UpdateSubscriberTopics.Request {
                SubscriberEmail = email, Topics = topicCodes
            };

            setupPermissions(request);
            _dispatcher.Dispatch <UpdateSubscriberTopics.Request, UpdateSubscriberTopics.Response>(request);
        }