Example #1
0
        public DisabledEmployeesReportView(IDisabledEmployeeReportController reportController, IDisabledEmployeeReportModel reportModel)
        {
            InitializeComponent();
            _model = reportModel;

            report = _model.DisabledEmployeeReports;
            GridReport.Items.Clear();
            GridReport.ItemsSource = report;
        }
Example #2
0
 private void disabledEmplButton_Click(object sender, RoutedEventArgs e)
 {
     WorkspacePanel.Children.Clear();
     _disabledEmployeeReport = new DisabledEmployeeReportController(new DisabledEmployeesReportModel());
     WorkspacePanel.Children.Add(_disabledEmployeeReport.LoadDisabledEmployeeReport());
 }