Пример #1
0
        public IActionResult EditUser(UserViewModel user)
        {
            if (_userDomain.EditUser(user, User.GetId()))
            {
                return(GenerateUserInfo(User.GetId()));
            }

            return(BadRequest());
        }