public async Task <bool> SaveUpdateTransaction(Wallet wallet, Transaction transaction) { await _storage.AddOrUpdateAsyncForObject(transaction, wallet); return(true); }
public async Task <bool> SaveUpdateWallet(User user, WalletDb wallet) { await _storage.AddOrUpdateAsyncForObject(wallet, user); return(true); }