/// <summary> /// Adds the specified SecurityQuestionAuthenticationMethod to the collection via POST. /// </summary> /// <param name="securityQuestionAuthenticationMethod">The SecurityQuestionAuthenticationMethod to add.</param> /// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param> /// <returns>The created SecurityQuestionAuthenticationMethod.</returns> public System.Threading.Tasks.Task <SecurityQuestionAuthenticationMethod> AddAsync(SecurityQuestionAuthenticationMethod securityQuestionAuthenticationMethod, CancellationToken cancellationToken) { this.ContentType = "application/json"; this.Method = "POST"; return(this.SendAsync <SecurityQuestionAuthenticationMethod>(securityQuestionAuthenticationMethod, cancellationToken)); }
/// <summary> /// Adds the specified SecurityQuestionAuthenticationMethod to the collection via POST. /// </summary> /// <param name="securityQuestionAuthenticationMethod">The SecurityQuestionAuthenticationMethod to add.</param> /// <returns>The created SecurityQuestionAuthenticationMethod.</returns> public System.Threading.Tasks.Task <SecurityQuestionAuthenticationMethod> AddAsync(SecurityQuestionAuthenticationMethod securityQuestionAuthenticationMethod) { return(this.AddAsync(securityQuestionAuthenticationMethod, CancellationToken.None)); }