Beispiel #1
0
        public async Task <IActionResult> Edit(string id)
        {
            Account account = await accountHelper.GetById(acccountId);

            ViewBag.accountType = account.AccountType.ToString();
            string ids = userId;

            TempData["Id"] = ids;
            User aUser = new User();

            //ViewBag.UserId = id;
            aUser = await userHelper.GetAsync(new User()
            {
                Id = id
            });

            aUser.Assignements = await userHelper.AssignementsByUserIdAsync(id);

            return(View(aUser));
        }