示例#1
0
        public List <CAccount> AddedCAcc(string LoanId)
        {
            CAccountC       inter = new CAccountC();
            List <CAccount> l     = inter.ListOfCAcc(LoanId);

            return(l);
        }
示例#2
0
        public void deleteChosenCacc(int id)//when click delete
        {
            CAccountC inter = new CAccountC();

            inter.RemoveCAcc(id);
        }
示例#3
0
        public void updateChosenCacc(CAccount c)//when click update
        {
            CAccountC inter = new CAccountC();

            inter.UpdateCAcc(c);
        }
示例#4
0
        public CAccount getChosenCacc(int id)//to show in the update form
        {
            CAccountC inter = new CAccountC();

            return(inter.FindCacc(id));
        }
示例#5
0
        public void deleteCAcc(int id)
        {
            CAccountC c = new CAccountC();

            c.RemoveCAcc(id);
        }