public async Task <IActionResult> Index() { var processes = _service.GetRunningProcesses(); var games = (await _context.GameServers.Include(g => g.HostServer).ToListAsync()). Select(game => _service.GetGameInfos(game, processes)).ToList(); return(View(games)); }