Exemple #1
0
        public async Task <bool> RemoveTransaction(Guid transactionGuid)
        {
            return(await Task.Run(async() =>
            {
                // Thread.Sleep(1000);

                return await _storage.Delete(transactionGuid);
            }));
        }
Exemple #2
0
        public async Task <bool> RemoveWallet(Guid walletGuid)
        {
            return(await Task.Run(async() =>
            {
                // Thread.Sleep(1000);

                return await _storage.Delete(walletGuid);
            }));
        }
Exemple #3
0
 public void DeleteTransaction(Transaction transaction)
 {
     Thread.Sleep(1000);
     _storage.Delete(transaction);
 }
Exemple #4
0
 public void DeleteWallet(Wallet wallet)
 {
     Thread.Sleep(1000);
     _storage.Delete(wallet);
 }
Exemple #5
0
 public void DeleteCategory(Category category)
 {
     Thread.Sleep(1000);
     _storage.Delete(category);
 }