Exemplo n.º 1
0
        static void RunListTransactionCommand(TransactionListOptions opts)
        {
            List <AbstractTransaction> transactionList = DBQuery.GetTransactionList(opts.AccountNumber);

            IO.DisplayTransactionList(transactionList);
        }
Exemplo n.º 2
0
        public static List <AbstractAccount> GetAccountList(int id)
        {
            List <AbstractAccount> currentCustomerAccountsList = DBQuery.GetAccountsCustomer(id);

            return(currentCustomerAccountsList);
        }