Exemplo n.º 1
0
        public async Task CheckIfAccountIsDeleted()
        {
            var accounts = await accountProvider.AccountsAsync();

            Account account = accounts.FirstOrDefault();


            var deleted = await accountProvider.DeleteAsync(account.Id);

            var reset = await accountProvider.ResetAccountAsync(account);

            Assert.True(deleted);
            Assert.True(reset);
        }
Exemplo n.º 2
0
 public Task <bool> DeleteAsync(string id)
 {
     return(provider.DeleteAsync(id));
 }