public async Task <IActionResult> EditAccountView(Account account) { Account accountt = await accountHelper.GetById(accountId); ViewBag.accountType = accountt.AccountType.ToString(); string ids = userId; TempData["Id"] = ids; var edit = await accountHelper.EditAsync(account); await HttpContext.SignInAsync(User); return(RedirectToAction("ListAccounts")); }