in aspnet/Microsoft.Samples.XMLA.HTTP/Microsoft.Samples.XMLA.HTTP.Proxy/Controllers/QueryController.cs [67:80]
public async Task<IActionResult> GetTable(
[FromRoute] string table,
CancellationToken cancel) => await GetTable(config.DefaultDatabase, table, cancel);
[HttpGet("/api/{database}/Tables/{table}")]
public async Task<IActionResult> GetTable(
[FromRoute] string database,
[FromRoute]string table,
CancellationToken cancel)
{
var query = $"evaluate({QuoteName(table)})";
log.LogInformation("Begin Get Request");
return await GetQueryResult(database ?? config.DefaultDatabase, query, false, cancel);
}