Ejemplo n.º 1
0
        public static bool DeleteAll(string userName)
        {
            List <DTOClient> listClient = DAOClient.getListClient();

            foreach (DTOClient client in listClient)
            {
                if (client.UserName == userName)
                {
                    return(DAOData.DeleteAll(client.IDClient));
                }
            }
            return(false);
        }
Ejemplo n.º 2
0
 public static List <DTOClient> getListClient()
 {
     return(DAOClient.getListClient());
 }