/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='token'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <object> AddKetapediaUsageAsync(this IOfferApi operations, string token, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.AddKetapediaUsageWithHttpMessagesAsync(token, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='token'> /// </param> public static object AddKetapediaUsage(this IOfferApi operations, string token) { return(operations.AddKetapediaUsageAsync(token).GetAwaiter().GetResult()); }