public bool delete(int mahd) { bool ck = true; CTHDDao ctDao = new CTHDDao(); ck = ck && ctDao.deleteCTHD(mahd); ck = ck && HDdao.deleteHD(mahd); return(ck); }