Esempio n. 1
0
 public static Disbursement DepositFunds(this IWalletAccountRepository repo, string walletAccountId, string accountId, int amount)
 {
     return(repo.DepositFundsAsync(walletAccountId, accountId, amount).WrapResult());
 }
Esempio n. 2
0
 public static User GetUserForWalletAccount(this IWalletAccountRepository repo, string walletAccountId)
 {
     return(repo.GetUserForWalletAccountAsync(walletAccountId).WrapResult());
 }
Esempio n. 3
0
 public static WalletAccount GetWalletAccountById(this IWalletAccountRepository repo, string walletAccountId)
 {
     return(repo.GetWalletAccountByIdAsync(walletAccountId).WrapResult());
 }