await _userManager.AddToRoleAsync(user.Id, "Admin"); code example
Example: await _userManager.AddToRoleAsync(user.Id, "Admin");
await _userManager.AddToRoleAsync(user.Id, "Admin");
await _userManager.AddToRoleAsync(user.Id, "Admin");