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