public async Task <ActionResult> Example_Read([DataSourceRequest] DataSourceRequest request) { var results = await _apiClient.ApiExampleGetAsync(request); var dsResult = Mapper.Map <DataSourceResult>(results); return(Json(dsResult)); }
/// <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()); }