...
Code Block | ||
---|---|---|
| ||
int userId = 1;
var user = _userManager.GetById(userId);
user.LastName = "Doe";
var updatedUser = _userManager.Update(user); |
...
Code Block | ||
---|---|---|
| ||
int userId = 1;
var user = _userManager.GetById(userId);
user.LastName = "Doe";
var updatedUser = _userManager.Update(user); |