Exemplo n.º 1
0
 public void MakeAccountActive()
 {
     DataManager dataManager = new DataManager(connectionString);
     string customerID = GetSelectedCustomer();
     if (customerID != string.Empty)
     {
         dataManager.UpdateToActiveStatus(customerID);
     }
     else
     {
         MessageBox.Show("No customer has been selected");
     }
 }