Exemplo n.º 1
0
        public IActionResult Edit(EditUserViewModel editUserViewModel)
        {
            if (ModelState.IsValid)
            {
                var user = editUserViewModel.FromEditUserViewModel();
                userService.Edit(user);
                return(RedirectToAction("Overview"));
            }


            return(RedirectToAction("Edit"));
        }