private void Reset() { AllProjectItems = new ObservableCollection <Project>(_projectManager.GetProjects(false)); _allHeads = _headManager.GetHeads(false, false); SelectedProject = null; NotificationMessage = ""; }
public ProjectHeadManagementModel() { _projectManager = BLLCoreFactory.GetProjectManager(); _headManager = BLLCoreFactory.GetHeadManager(); _allHeads = _headManager.GetHeads(false, false); AllProjectItems = new ObservableCollection<Project>(_projectManager.GetProjects(false)); }
private void SetAllHeads() { if (SelectedProject != null) { AllHeads = _headManager.GetHeads(SelectedProject, false, false).ToList(); } else { AllHeads = null; } }
public ProjectHeadManagementModel() { try { _projectManager = BLLCoreFactory.GetProjectManager(); _headManager = BLLCoreFactory.GetHeadManager(); _allHeads = _headManager.GetHeads(false, false); AllProjectItems = new ObservableCollection <Project>(_projectManager.GetProjects(false)); } catch { } }