public static async Task Init() { Console.OutputEncoding = Encoding.UTF8; await CoursesClient.LazyRefresh(); SharedVars.CurrentSemesterNumber = await CoursesExtractor.ExtractSemestersCount(); }
private static async Task <ICourseLink> AskForCourse() { await CoursesExtractor.ExtractCourses(); var result = MenuChooseItem.AskInputForSingleItemFromList(SharedVars.Courses, "course"); SharedVars.SelectedCourseLink = result; return(result); }