public async Task Unsubscribe(string address)
 {
     try
     {
         await _observableWalletRepository.Delete(address);
     }
     catch (StorageException e) when(e.RequestInformation.HttpStatusCode == EntityNotExistsHttpStatusCode)
     {
         throw new WalletNotExistException();
     }
     finally
     {
         await _walletBalanceRepository.DeleteIfExist(address);
     }
 }
Exemple #2
0
        public async Task Unsubscribe(string address)
        {
            await _observableWalletRepository.Delete(address);

            await _balanceRepository.DeleteIfExist(address);
        }