private void CreateViewModels() { this.aboutViewModel = new AboutViewModel(); this.monitorViewModel = new MonitorViewModel(this.adminList, this.courseList); this.queryViewModel = new QueryViewModel(this.queryList, this.courseList); this.adminViewModel = new AdminViewModel(this.courseList, this.adminList); this.feedbackViewModel = new FeedbackViewModel(this.queryList, this.monitorViewModel); this.listViewModel = new ListViewModel(this.queryList); }
public FeedbackViewModel(IQueryList queryList, MonitorViewModel monitorViewModel) { this.queryList = queryList; this.monitorViewModel = monitorViewModel; this.filteredQueries = new ObservableCollection <Query>(); }