public async Task <IActionResult> Index(bool activeOnly = true) { var workspaces = await _workspaceRepository.GetAllAsync(activeOnly); return(View(new IndexViewModel { Workspaces = workspaces, ActiveOnly = activeOnly })); }