public async Task <bool> SaveUpdateTransaction(Wallet wallet, Transaction transaction)
        {
            await _storage.AddOrUpdateAsyncForObject(transaction, wallet);

            return(true);
        }
示例#2
0
        public async Task <bool> SaveUpdateWallet(User user, WalletDb wallet)
        {
            await _storage.AddOrUpdateAsyncForObject(wallet, user);

            return(true);
        }