Ejemplo n.º 1
0
 /// <summary>
 /// Deletes asynchronously from the database all the information associated with the last blockchain file.
 /// </summary>
 /// <returns>
 /// A task representing the asynchronous operation.
 /// </returns>
 private async Task DeleteLastBlockchainFileAsync()
 {
     using (BitcoinDataLayer bitcoinDataLayer = new BitcoinDataLayer(this.databaseConnection.ConnectionString))
     {
         await bitcoinDataLayer.DeleteLastBlockchainFileAsync();
     }
 }
 /// <summary>
 /// Deletes asynchronously from the database all the information associated with the last blockchain file.
 /// </summary>
 /// <returns>
 /// A task representing the asynchronous operation.
 /// </returns>
 private async Task DeleteLastBlockchainFileAsync()
 {
     using (BitcoinDataLayer bitcoinDataLayer = new BitcoinDataLayer(this.databaseConnection.ConnectionString))
     {
         await bitcoinDataLayer.DeleteLastBlockchainFileAsync();
     }
 }