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