public async Task <bool> RemoveTransaction(Guid transactionGuid) { return(await Task.Run(async() => { // Thread.Sleep(1000); return await _storage.Delete(transactionGuid); })); }
public async Task <bool> RemoveWallet(Guid walletGuid) { return(await Task.Run(async() => { // Thread.Sleep(1000); return await _storage.Delete(walletGuid); })); }
public void DeleteTransaction(Transaction transaction) { Thread.Sleep(1000); _storage.Delete(transaction); }
public void DeleteWallet(Wallet wallet) { Thread.Sleep(1000); _storage.Delete(wallet); }
public void DeleteCategory(Category category) { Thread.Sleep(1000); _storage.Delete(category); }