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; } }
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; } }