Exemple #1
0
 public void MakeAccountInactive()
 {
     DataManager dataManager = new DataManager(connectionString);
     string customerID = GetSelectedCustomer();
     if (customerID != string.Empty)
     {
         dataManager.UpdateToInactiveStatus(customerID);
     }
     else
     {
         MessageBox.Show("No customer has been selected");
     }
 }