Exemplo n.º 1
0
        private void btnXoaKhachHang_Click(object sender, EventArgs e)
        {
            var currentCustomer = customerDAL.GetAll().Where(c => c.MAKH == MAKH).FirstOrDefault();

            customerDAL.Delete(currentCustomer);
            LoadCustomer();
        }
 public int Delete(string ID)
 {
     return(dal.Delete(ID));
 }