示例#1
0
 private void EditCustomer(int id, string name, int flightId)
 {
     ResetMessages();
     try
     {
         Customer customer = new Customer(id, name, flightId);
         customerController.EditCustomer(customer);
     }
     catch (Exception ex)
     {
         lblMessageCustomer.Text = ex.Message;
     }
 }