private void Window_Loaded(object sender, RoutedEventArgs e) { dataGrid1.ItemsSource = _positionService.Get(); EmployeeGrid.ItemsSource = _employeeService.Get(); OvertimeEmployeeGrid.ItemsSource = _overtimeService.Get(); }
private void Window_Loaded(object sender, RoutedEventArgs e) { int Id = Settings.Default.Id; OvertimeEmployeeGrid.ItemsSource = overtimeService.Get(Id); }