Beispiel #1
0
        public async Task <List <Topic> > GetSubscriberTopicsAsync(string email)
        {
            var request = new GetSubscriberTopics.Request {
                Email = email
            };

            setupPermissions(request);
            return((await _dispatcher.DispatchAsync <GetSubscriberTopics.Request, GetSubscriberTopics.Response>(request)).Topics);
        }
Beispiel #2
0
        public List <Topic> GetSubscriberTopics(string email)
        {
            var request = new GetSubscriberTopics.Request {
                Email = email
            };

            setupPermissions(request);
            return(_dispatcher.Dispatch <GetSubscriberTopics.Request, GetSubscriberTopics.Response>(request).Topics);
        }