16 references to DeleteAsync
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (10)
DefaultPocoTest.cs (1)
54
IdentityResultAssert.IsSuccess(await userManager.
DeleteAsync
(user));
SqlStoreOnlyUsersTestBase.cs (2)
114
IdentityResultAssert.IsSuccess(await userMgr.
DeleteAsync
(user));
138
IdentityResultAssert.IsSuccess(await manager.
DeleteAsync
(user));
SqlStoreTestBase.cs (3)
196
IdentityResultAssert.IsSuccess(await userMgr.
DeleteAsync
(user));
213
IdentityResultAssert.IsSuccess(await userMgr.
DeleteAsync
(user));
237
IdentityResultAssert.IsSuccess(await manager.
DeleteAsync
(user));
UserOnlyCustomContextTest.cs (1)
99
IdentityResultAssert.IsSuccess(await userManager.
DeleteAsync
(user));
UserOnlyTest.cs (1)
60
IdentityResultAssert.IsSuccess(await userManager.
DeleteAsync
(user));
UserStoreTest.cs (2)
169
IdentityResultAssert.IsSuccess(await manager.
DeleteAsync
(user));
292
IdentityResultAssert.IsFailure(await manager2.
DeleteAsync
(user2), new IdentityErrorDescriber().ConcurrencyFailure());
Microsoft.AspNetCore.Identity.Specification.Tests (1)
UserManagerSpecificationTests.cs (1)
209
IdentityResultAssert.IsSuccess(await manager.
DeleteAsync
(user));
Microsoft.AspNetCore.Identity.Test (3)
UserManagerTest.cs (3)
133
var result = await userManager.
DeleteAsync
(user);
1029
await Assert.ThrowsAsync<ArgumentNullException>("user", async () => await manager.
DeleteAsync
(null));
1174
await Assert.ThrowsAsync<ObjectDisposedException>(() => manager.
DeleteAsync
(null));
Microsoft.AspNetCore.Identity.UI (2)
Areas\Identity\Pages\V4\Account\Manage\DeletePersonalData.cshtml.cs (1)
105
var result = await _userManager.
DeleteAsync
(user);
Areas\Identity\Pages\V5\Account\Manage\DeletePersonalData.cshtml.cs (1)
105
var result = await _userManager.
DeleteAsync
(user);