public async Task <IActionResult> IndexAsync() { var store = _manager.GetStore(); var model = new IndexViewModel() { Store = store.Identifier, Articles = await _session .Query <Article>(new Article_ByName().IndexName) .ToListAsync() }; return(View(model)); }