public async Task <string> HandleAsync(GetChartIndex query) { return(await helmClient.Index()); }
public async Task <IEnumerable <Chart> > HandleAsync(GetCharts query) { return(ChartExtensions.GetCharts(await helmClient.Index())); }
public async Task <Chart> HandleAsync(GetChart query) { var charts = ChartExtensions.GetCharts(await helmClient.Index()); return(charts.Single(c => c.Name == query.ChartName)); }