/// <summary> /// Remove content from the study plan /// </summary> /// <param name="content">A subject or course that is being removed from the plan</param> public void RemoveContent(Content content) { if (content is Subject) { SelectedSubjects.Remove(content as Subject); } else { SelectedCourses.Remove(content as Course); } RefreshBannedSubjectsList(); RefreshRelations(); Order(); }
/// <summary> /// Removes a course from this schedule. /// </summary> /// <param name="selectedCourse"></param> public void RemoveCourse(SelectedCourse selectedCourse) { SelectedCourses.Remove(selectedCourse); }