public static bool XepLop(List <string> listMaTre, string maLop) { foreach (string maTre in listMaTre) { try { TreDAL.XepLop(maTre, maLop); } catch (Exception ex) { return(false); } } return(true); }