/// <summary> /// Removes the project from the selected list. This method is invoked by the RemoveCommand. /// </summary> public void RemoveProject() { ProjectViewModel selectedProjectVM = SelectedProjects.FirstOrDefault(p => p.IsSelected == true); UnassignedProjects.Add(selectedProjectVM); SelectedProjects.Remove(selectedProjectVM); }
private void ProjectDeleted(Project project) { SelectedProjects.Remove(project); }