/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='request'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <KendoMvcUIDataSourceResult> ApiExampleGetAsync(this IExampleApplicationAPI operations, object request = default(object), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ApiExampleGetWithHttpMessagesAsync(request, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
public GridController(IExampleApplicationAPI apiclient) { this._apiClient = apiclient; }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='request'> /// </param> public static KendoMvcUIDataSourceResult ApiExampleGet(this IExampleApplicationAPI operations, object request = default(object)) { return(operations.ApiExampleGetAsync(request).GetAwaiter().GetResult()); }