コード例 #1
0
        public void ClientLists()
        {
            DAOClient doc = new DAOClient();

            List <Client> ClientList = new List <Client>();

            ClientList = doc.ClientList();

            foreach (Client client in ClientList)
            {
                BLClient bldCt = new BLClient(client.ClientEmail, client.ClientName, client.ClientPassword, client.ClientAvailable);
                ClientListBL.Add(bldCt);
            }
        }
コード例 #2
0
        public List <BLClient> ChargeClientLists()
        {
            DAOClient doc = new DAOClient();

            List <Client>   ClientList = new List <Client>();
            List <BLClient> ListC      = new List <BLClient>();

            ClientList = doc.ClientList();

            foreach (Client client in ClientList)
            {
                BLClient bldCt = new BLClient(client.ClientEmail, client.ClientName, client.ClientPassword, client.ClientAvailable);
                ListC.Add(bldCt);
            }

            return(ListC);
        }