示例#1
0
        public static async Task Init()
        {
            Console.OutputEncoding = Encoding.UTF8;

            await CoursesClient.LazyRefresh();

            SharedVars.CurrentSemesterNumber = await CoursesExtractor.ExtractSemestersCount();
        }
示例#2
0
        private static async Task <ICourseLink> AskForCourse()
        {
            await CoursesExtractor.ExtractCourses();

            var result = MenuChooseItem.AskInputForSingleItemFromList(SharedVars.Courses, "course");

            SharedVars.SelectedCourseLink = result;
            return(result);
        }