21 references to UpdateAsync
IdentitySample.DefaultUI (1)
Areas\Identity\Pages\Account\Manage\Index.cshtml.cs (1)
92var updateProfileResult = await _userManager.UpdateAsync(user);
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (7)
UserStoreEncryptPersonalDataTest.cs (2)
88IdentityResultAssert.IsSuccess(await manager.UpdateAsync(user)); 213IdentityResultAssert.IsSuccess(await manager.UpdateAsync(user));
UserStoreTest.cs (5)
232IdentityResultAssert.IsSuccess(await manager1.UpdateAsync(user1)); 233IdentityResultAssert.IsFailure(await manager2.UpdateAsync(user2), new IdentityErrorDescriber().ConcurrencyFailure()); 261IdentityResultAssert.IsSuccess(await manager1.UpdateAsync(user)); 262IdentityResultAssert.IsFailure(await manager2.UpdateAsync(user2), new IdentityErrorDescriber().ConcurrencyFailure()); 291IdentityResultAssert.IsSuccess(await manager1.UpdateAsync(user1));
Microsoft.AspNetCore.Identity.FunctionalTests (1)
MapIdentityApiTests.cs (1)
412await userManager.UpdateAsync(user);
Microsoft.AspNetCore.Identity.Specification.Tests (4)
UserManagerSpecificationTests.cs (4)
227IdentityResultAssert.IsSuccess(await manager.UpdateAsync(user)); 330IdentityResultAssert.IsSuccess(await manager.UpdateAsync(user)); 376IdentityResultAssert.IsFailure(await manager.UpdateAsync(user), AlwaysBadValidator.ErrorMessage); 1815await manager.UpdateAsync(user);
Microsoft.AspNetCore.Identity.Test (5)
UserManagerTest.cs (5)
153var result = await userManager.UpdateAsync(user); 175var result = await userManager.UpdateAsync(user); 623var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => manager.UpdateAsync(user)); 1028await Assert.ThrowsAsync<ArgumentNullException>("user", async () => await manager.UpdateAsync(null)); 1173await Assert.ThrowsAsync<ObjectDisposedException>(() => manager.UpdateAsync(null));
Microsoft.Extensions.Identity.Core (3)
UserManager.cs (3)
1983return await UpdateAsync(user).ConfigureAwait(false); 2012var update = await UpdateAsync(user).ConfigureAwait(false); 2112return await UpdateAsync(user).ConfigureAwait(false);