private IEnumerable <AssessmentViewModel> CreateAssessmentViewModelsFromWorkplace(WorkplaceViewModel workplaceViewModel)
        {
            var assessmentViewModelsOfWorkpalce = new Collection <AssessmentViewModel>();

            foreach (var assessment in workplaceViewModel.Assessments.Where(a => a.Status == SelectedStatus))
            {
                assessmentViewModelsOfWorkpalce.Add(m_AssessmentViewModelFactory.CreateAssessmentViewModel(assessment, workplaceViewModel.Model));
            }

            return(assessmentViewModelsOfWorkpalce);
        }
 public void ShowWorkplaceEditView(WorkplaceViewModel workplaceOfCompany)
 {
     ActivateItem(m_DangerViewModelFactory.CreateWorkplaceEditViewModel(workplaceOfCompany.Model, m_SelectedCompanyViewModel.Model));
 }