public async Task <IActionResult> Index() { var clusters = await _clusterService.Search(); return(View(new IndexModel { Clusters = clusters })); }
public async Task <IList <Cluster> > IndexData() { return(await _clusterService.Search()); }