Exemple #1
0
        public async Task CheckRemoveAccountOnAreaAsync(string roleId)
        {
            var roles = await roleProvider.RolesAsync();

            Role role = roles.FirstOrDefault(x => x.Id == roleId);

            var removed = await areaProvider.RemoveAccountOnArea(roleId);

            Assert.True(removed);
            Assert.True(await roleProvider.ReviveRoleDeleted(role.Id));
        }