public IEnumerable<CourseView> GetCourseByDepartmentId(string departmentId, string term)
        {
            var id = departmentId.ConvertToGuid();
            var courses = new CourseAppl().GetCourseByDepartmentId(id, term);

            courses = courses.OrderBy(t => t.Num);
            return _adapter.Adapt<CourseView>(courses);
        }
        public IEnumerable <CourseView> GetCourseByDepartmentId(string departmentId, string term)
        {
            var id      = departmentId.ConvertToGuid();
            var courses = new CourseAppl().GetCourseByDepartmentId(id, term);

            courses = courses.OrderBy(t => t.Num);
            return(_adapter.Adapt <CourseView>(courses));
        }
        public IEnumerable<CourseView> GetCourseByDepartmentId(string departmentId)
        {
            var id = departmentId.ConvertToGuid();
            //取最大学年学期
            var term = new TermAppl().GetMaxTerm();
            var courses = new CourseAppl().GetCourseByDepartmentId(id, term.YearTerm);
            courses = courses.OrderBy(t => t.Num);

            return _adapter.Adapt<CourseView>(courses);
        }
        public IEnumerable <CourseView> GetCourseByDepartmentId(string departmentId)
        {
            var id = departmentId.ConvertToGuid();
            //取最大学年学期
            var term    = new TermAppl().GetMaxTerm();
            var courses = new CourseAppl().GetCourseByDepartmentId(id, term.YearTerm);

            courses = courses.OrderBy(t => t.Num);

            return(_adapter.Adapt <CourseView>(courses));
        }