public DisabledEmployeeReportController(IDisabledEmployeeReportModel reportModel)
 {
     if (reportModel == null)
     {
         throw new ArgumentNullException("disabledEmplReport");
     }
     _model = reportModel;
 }
Exemplo n.º 2
0
        public DisabledEmployeesReportView(IDisabledEmployeeReportController reportController, IDisabledEmployeeReportModel reportModel)
        {
            InitializeComponent();
            _model = reportModel;

            report = _model.DisabledEmployeeReports;
            GridReport.Items.Clear();
            GridReport.ItemsSource = report;
        }