Exemplo n.º 1
0
        public List <Inquiries> AddedInq(string LoanId)
        {
            InquiriesC       inter = new InquiriesC();
            List <Inquiries> l     = inter.ListOfInq(LoanId);

            return(l);
        }
Exemplo n.º 2
0
        public void deleteChosenInq(int id)//when click delete
        {
            InquiriesC inter = new InquiriesC();

            inter.RemoveInq(id);
        }
Exemplo n.º 3
0
        public void updateChosenInq(Inquiries i)//when click update
        {
            InquiriesC inter = new InquiriesC();

            inter.UpdateInq(i);
        }
Exemplo n.º 4
0
        public Inquiries getChosenInq(int id)//to show in the update form
        {
            InquiriesC inter = new InquiriesC();

            return(inter.FindInq(id));
        }