protected override async Task RefreshFields()
        {
            Owner = await StudentViewModel.Get(model.OwnerId);

            Participants = new ObservableCollection <ProjectParticipantViewModel>(await ProjectParticipantViewModel.Where(p => p.ProjectId == model.Id));
            Contents     = new ObservableCollection <ProjectContentViewModel>(await ProjectContentViewModel.Where(c => c.ProjectId == model.Id));
            Assignment   = await AssignmentViewModel.Get(model.AssignmentId);
        }
Beispiel #2
0
        protected override async Task RefreshFields()
        {
            student = await StudentViewModel.Get(model.StudentId);

            project = await ProjectViewModel.Get(model.ProjectId);
        }