Example #1
0
        //Show the information of a client given its id
        public DataSet showClientData(string ID)
        {
            ClientCAD c  = new ClientCAD();
            DataSet   ds = c.showClientInfo(ID);

            return(ds);
        }
Example #2
0
        //Searches a client provided its dni and password
        public DataSet searchDNIClient(String dni, string pass)
        {
            ClientCAD c  = new ClientCAD();
            DataSet   ds = c.searchClients(dni, pass);

            return(ds);
        }
Example #3
0
        //Shows all the clients of the DB
        public DataSet showAllClient()
        {
            ClientCAD c  = new ClientCAD();
            DataSet   ds = c.showClient(this);

            return(ds);
        }
Example #4
0
        //Updates the information about a client
        public DataSet update_Client(int i)
        {
            ClientCAD c  = new ClientCAD();
            DataSet   ds = c.updateClient(this, i);

            return(ds);
        }
Example #5
0
        //Adds a new Client to the DB
        public DataSet add_Client()
        {
            ClientCAD c  = new ClientCAD();
            DataSet   ds = c.addClient(this);

            return(ds);
        }
Example #6
0
        //Updates the information about the client by id and password
        public void update_Client2(String ID)
        {
            ClientCAD c = new ClientCAD();

            c.updateClient2(this, ID);
        }
Example #7
0
 public void login_user()
 {
     m_cc = new ClientCAD();
     m_cc.login_user(this);
 }
Example #8
0
 public void update_user()
 {
     m_cc = new ClientCAD();
     m_cc.update_user(this);
 }
Example #9
0
 public void delete_user()
 {
     m_cc = new ClientCAD();
     m_cc.delete_user(this);
 }
Example #10
0
 public void register_user()
 {
     m_cc = new ClientCAD();
     m_cc.register_user(this);
 }