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