public DisabledEmployeeReportController(IDisabledEmployeeReportModel reportModel) { if (reportModel == null) { throw new ArgumentNullException("disabledEmplReport"); } _model = reportModel; }
public DisabledEmployeesReportView(IDisabledEmployeeReportController reportController, IDisabledEmployeeReportModel reportModel) { InitializeComponent(); _model = reportModel; report = _model.DisabledEmployeeReports; GridReport.Items.Clear(); GridReport.ItemsSource = report; }