public bool DelData(string ma) { var hoaDons = hdMod.GetDataByKH(ma); bool isDeleted = true; foreach (DataRow row in hoaDons.Rows) { isDeleted = ctMod.DelDataHoaDon(Convert.ToString(row["MaHD"])); } if (isDeleted) { isDeleted = hdMod.DelDataKhachHang(ma); } if (isDeleted) { isDeleted = nvMod.DelData(ma); } return(isDeleted); }
public bool DelData(string ma) { return(nvMod.DelData(ma)); }
public bool delData(String ma) { return(khMod.DelData(ma)); }
public bool DelData(string strlenh) { return(khMod.DelData(strlenh)); }