Пример #1
0
        public List <string> fromDD()//all the from account
        {
            List <string>  l     = new List <string>();
            AccountC       inter = new AccountC();
            List <Account> c     = inter.AccountList();

            foreach (var v in c)
            {
                l.Add(v.AccountNum);
            }
            return(l);
        }
Пример #2
0
        public List <string> toDD()//all the to account
        {
            List <string>  l     = new List <string>();
            AccountC       inter = new AccountC();
            List <Account> c     = inter.AccountList();

            foreach (var v in c)
            {
                if (v.Kind != "Credit")
                {
                    l.Add(v.AccountNum);
                }
            }
            return(l);
        }
Пример #3
0
        public List <Account> AccountList()
        {
            AccountC c = new AccountC();

            return(c.AccountList());
        }
Пример #4
0
 public List <Account> AllAccounts()
 {
     return(inter.AccountList());
 }