private void ReloadTheTable() { List <EmployeeViewModel> employeeViews; _sql = new SQLActions(); employeeViews = _sql.GetAllEmployee(); ListOfEmployees.ItemsSource = employeeViews; }
private void ReloadTotalTable() { List <EmployeeViewModel> employeeViews; _sql = new SQLActions(); employeeViews = _sql.GetAllEmployee(); //ListOfEmployeeTotalHours ==> ListView.Name in xaml ListOfEmployeeTotalHours.ItemsSource = employeeViews; }