private void btnSave_Click(object sender, System.EventArgs e) { EmployeeBusinessLogic employeeBusiness = new EmployeeBusinessLogic(); selectedStaff.FirstName = txtName.Text; selectedStaff.Email = txtEmail.Text; selectedStaff.LastName = txtSurname.Text; selectedStaff.Address = txtNum.Text; employeeBusiness.updateEmployee(selectedStaff, employeeType.technician); }