Пример #1
0
        public ActionResult Update(UserViewModel userViewModel)
        {
            User user = AutoMapper.Mapper.Map <UserViewModel, User>(userViewModel);

            userDetails.Update(user);
            return(RedirectToAction("ManageUser", "User"));
        }