コード例 #1
0
 /// <inheritdoc/>
 public Task UpdateSecurityQuestionsAsync(UserSecurityQuestionUpdate userSecurityQuestionUpdate)
 {
     return(this.requestService.PostRequest <object>($"users/me/questions", userSecurityQuestionUpdate));
 }
コード例 #2
0
        /// <inheritdoc/>
        public void UpdateSecurityQuestions(UserSecurityQuestionUpdate userSecurityQuestionUpdate)
        {
            var t = this.UpdateSecurityQuestionsAsync(userSecurityQuestionUpdate).ConfigureAwait(false).GetAwaiter();

            t.GetResult();
        }
コード例 #3
0
 /// <inheritdoc/>
 public Task UpdateSecurityQuestionsAsync(string id, UserSecurityQuestionUpdate userSecurityQuestionUpdate)
 {
     return(this.requestService.PostRequest <User>($"users/{id}/questions", userSecurityQuestionUpdate));
 }