Пример #1
0
 public static ScenarioViewModel CreateTopSixth(IScenarioRepository repository, long projectID)
 {
     var viewModel = new ScenarioViewModel();
     viewModel.ScenariosList = repository.GetTopSixth(projectID).OrderBy(x => x.Priority).ToList();
     viewModel.TopSixthScenarios = repository.GetTopSixth(projectID).OrderBy(x => x.Priority);
      return viewModel;
 }