public List <CAccount> AddedCAcc(string LoanId) { CAccountC inter = new CAccountC(); List <CAccount> l = inter.ListOfCAcc(LoanId); return(l); }
public void deleteChosenCacc(int id)//when click delete { CAccountC inter = new CAccountC(); inter.RemoveCAcc(id); }
public void updateChosenCacc(CAccount c)//when click update { CAccountC inter = new CAccountC(); inter.UpdateCAcc(c); }
public CAccount getChosenCacc(int id)//to show in the update form { CAccountC inter = new CAccountC(); return(inter.FindCacc(id)); }
public void deleteCAcc(int id) { CAccountC c = new CAccountC(); c.RemoveCAcc(id); }