public static bool KiemTraBP(string MaBP) { try { NhanVien dao = new NhanVien(); DataTable table = dao.GetBP(MaBP); if (table.Rows.Count > 0) { return(true); } } catch (Exception ex) { throw ex; } return(false); }