public void DoSearch()
 {
     ReporteeList = new ObservableCollection <ReporteeViewModel> (RawReporteeList.FindAll((vm) => {
         return(vm.FullName.Contains(SearchText));
     }
                                                                                          ));
 }
 public async void GetReporteeViewModelList(List <Reportee> reporteeList, string L1beliefAssessment, string L1skillAssessment, string L1feedbackScore, string lapScore, string cpScore, string l2BeliefPostScore)
 {
     foreach (var reportee in reporteeList)
     {
         ReporteeViewModel reporteeViewModel = new ReporteeViewModel(reportee);
         IsSelectAll = true;
         reporteeViewModel.IsSelected           = true;
         reporteeViewModel.L2BChangeOnPotential = L1beliefAssessment;
         reporteeViewModel.L2SChangeOnPotential = L1skillAssessment;
         reporteeViewModel.CpScore           = cpScore;
         reporteeViewModel.LapScore          = lapScore;
         reporteeViewModel.L1FeedBackScore   = L1feedbackScore;
         reporteeViewModel.L2BeliefPostScore = l2BeliefPostScore;
         TempList2.Add(reporteeViewModel);
         RawReporteeList.Add(reporteeViewModel);
     }
 }
        public async void GetBatchReportViewModel(List <ManagerReportSummary> batchReportList)
        {
            TempList2.Clear();
            RawReporteeList.Clear();
            ObservableCollection <BatchReportListItemViewModel> batchReporteeListItem = new ObservableCollection <BatchReportListItemViewModel> ();

            foreach (var batchReport in batchReportList)
            {
                BatchReportListItemViewModel batchReportListItemViewModel = new BatchReportListItemViewModel(batchReport);

                batchReporteeListItem.Add(batchReportListItemViewModel);
                GetReporteeViewModelList(batchReport.ParticipantList, batchReport.L2SChangeOnPotential, batchReport.L2BChangeOnPotential, batchReport.CpScore1, batchReport.LapAct1, batchReport.L1FeedbackScore, batchReport.L2BeliefPostScore);
            }
            BatchReportList    = batchReporteeListItem;
            FilterReporteeList = new ObservableCollection <ReporteeViewModel> (RawReporteeList);
            ReporteeList       = TempList2;
        }