Пример #1
0
        public async Task <string> RegisterAsync(string registrationToken, RegistrationInfo info, CancellationToken token)
        {
            var result = await ExecuteAsync <RegistrationResult>(new RegistrationRequest(registrationToken, info), token).ConfigureAwait(false);

            return(HandleRegistrationResult(result));
        }
Пример #2
0
        public string Register(string registrationToken, RegistrationInfo info)
        {
            var result = Execute <RegistrationResult>(new RegistrationRequest(registrationToken, info));

            return(HandleRegistrationResult(result));
        }