public EmployeesViewModel(EmployeesView employeesView, vwManager manager)
 {
     this.employeesView       = employeesView;
     Manager                  = manager;
     EmployeeList             = managers.GetEmployees(Manager);
     backgroundWorker.DoWork += BW_DoWork;
     //adding method to ProgressChanged event
     backgroundWorker.ProgressChanged += BW_ProgressChanged;
     //adding method to RunWorkerCompleted event
     backgroundWorker.RunWorkerCompleted += BW_RunWorkerCompleted;
 }
 public void ViewAllEmployeesExecute()
 {
     IsVisibleEmployeeData = Visibility.Visible;
     EmployeeList          = managers.GetEmployees(manager);
 }