Ejemplo n.º 1
0
        public async Task <Subscriber> GetEncodedSubscriberAsync(string encodedEmail)
        {
            var request = new GetEncodedSubscriber.Request {
                EncodedEmail = encodedEmail
            };

            setupPermissions(request);
            return((await _dispatcher.DispatchAsync <GetEncodedSubscriber.Request, GetEncodedSubscriber.Response>(request)).Subscriber);
        }
Ejemplo n.º 2
0
        public Subscriber GetEncodedSubscriber(string encodedEmail)
        {
            var request = new GetEncodedSubscriber.Request {
                EncodedEmail = encodedEmail
            };

            setupPermissions(request);
            return(_dispatcher.Dispatch <GetEncodedSubscriber.Request, GetEncodedSubscriber.Response>(request).Subscriber);
        }