private void btnDel_Click(object sender, EventArgs e) { DialogResult traloi; Value(); traloi = MessageBox.Show("Bạn có muốn xóa???", "Questions", MessageBoxButtons.OKCancel, MessageBoxIcon.Question); if (traloi == DialogResult.OK) { KhachHang.Xoa(customer); btnRefresh_Click(null, null); } }
public void Xoa(DTO_KhachHang MaKH) { DAL_KhachHang DAL = new DAL_KhachHang(); DAL.Xoa(MaKH); }
public bool XoaKhachHang(int maKH) { return(_dal.Xoa(maKH)); }
public bool Xoa(string pMaKhachHang) { return(dalks.Xoa(pMaKhachHang)); }