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);
     }
 }
예제 #2
0
        public async Task Unsubscribe(string address)
        {
            await _observableWalletRepository.Delete(address);

            await _balanceRepository.DeleteIfExist(address);
        }