public async Task <IActionResult> GetConfigs() { Application app = this.GetApplication(); ApplicationService serv = this.GetService(); ServiceEnvironment env = this.GetEnvironment(); IEnumerable <(string Name, string Value)> configs = await _client.GetConfigsAsync(app.Key, serv.Key, env.Key); return(Json(configs.Select(config => new { config.Name, config.Value }))); }