Esempio n. 1
0
        public void SearchByDepartment(List <LectureVO> lectureList)
        {
            print.ShowLecture(lectureList);
            print.InputMsg("개설학과 전공");
            input = Console.ReadLine();
            error = errorCheck.IsValidPattern(input, "department");
            if (error == true)
            {
                print.ErrorMsg("잘못된 양식의 개설학과전공");
                return;
            }

            List <LectureVO> foundList = lectureList.FindAll(lecture => lecture.Department.Equals(input));

            print.ShowLecture(foundList);
            print.PreviousMsg();
            Console.ReadLine();
        }
Esempio n. 2
0
 public void JoinLectureList(List <LectureVO> inputLectureList)
 {
     print.ShowLecture(inputLectureList);
     print.PreviousMsg();
     Console.ReadLine();
 }