/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='klantId'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <object> GetKlantAsync(this IKlantServiceClient operations, long klantId, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetKlantWithHttpMessagesAsync(klantId, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }