/// <summary> /// Executes this request. /// </summary> /// <returns>Service response.</returns> internal async Task <RegisterConsentResponse> Execute(CancellationToken token) { RegisterConsentResponse serviceResponse = (RegisterConsentResponse)await this.InternalExecuteAsync(token).ConfigureAwait(false); serviceResponse.ThrowIfNecessary(); return(serviceResponse); }
/// <summary> /// Executes this request. /// </summary> /// <returns>Service response.</returns> internal RegisterConsentResponse Execute() { RegisterConsentResponse serviceResponse = (RegisterConsentResponse)this.InternalExecute(); serviceResponse.ThrowIfNecessary(); return(serviceResponse); }