Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 3
0
        public List <Account> AccountList()
        {
            AccountC c = new AccountC();

            return(c.AccountList());
        }
Ejemplo n.º 4
0
 public List <Account> AllAccounts()
 {
     return(inter.AccountList());
 }