private void GetFromBase_Click(object sender, RoutedEventArgs e) { if (employeeList.Count > 0) { employeeList.Clear(); } if (departmentList.Count > 0) { departmentList.Clear(); } if (workersList.Count > 0) { workersList.Clear(); } SQLer.ExecuteEmployee(employeeList); SQLer.ExecuteDepartament(departmentList); SQLer.ExecuteWorkers(workersList, departmentList, employeeList); }
public void ResetWorkersList() { workersList.Clear(); SQLer.ExecuteWorkers(workersList, departmentList, employeeList); }