Esempio n. 1
0
        public ActionResult Edit(string userId)
        {
            var editUserViewModel = new CreateEditUserViewModel();

            editUserViewModel.UserDetails  = _userModel.GetDetails(userId);
            editUserViewModel.AllowedRoles = _userModel.GetAllRoles().ToList();

            return(View(editUserViewModel));
        }