Пример #1
0
        public async Task <IActionResult> Index()
        {
            var clusters = await _clusterService.Search();

            return(View(new IndexModel
            {
                Clusters = clusters
            }));
        }
Пример #2
0
 public async Task <IList <Cluster> > IndexData()
 {
     return(await _clusterService.Search());
 }