public IActionResult EditUser(UserViewModel user) { if (_userDomain.EditUser(user, User.GetId())) { return(GenerateUserInfo(User.GetId())); } return(BadRequest()); }