private void GetActivityViewModelList(List <ParticipantDetail> activityList)
        {
            ObservableCollection <ActivityCompletionViewModel> activityListItem = new ObservableCollection <ActivityCompletionViewModel> ();

            foreach (var activity in activityList)
            {
                ActivityCompletionViewModel activityViewModel = new ActivityCompletionViewModel(activity);
                activityViewModel.CourseId   = CourseID;
                activityViewModel.CourseName = CourseFullName;
                activityListItem.Add(activityViewModel);
            }
            ActivityCompletionList = activityListItem;
        }
Пример #2
0
 public ManagerCourseDetailActivityViewModel(ActivityCompletionViewModel selectedActivity, List <Reportee> reportee)
 {
     this._SelectedActivity = selectedActivity;
     GetReporteeViewModelList(reportee);
 }