public async Task <IActionResult> ListAccounts() { string ids = userId; TempData["Id"] = ids; Account account = await accountHelper.GetById(accountId); ViewBag.accountType = account.AccountType.ToString(); ICollection <Account> list = await accountHelper.AccountsAsync(); return(View(list)); }