Exemplo n.º 1
0
        public LessonsViewModel()
        {
            UrlFile Url = JsonConvert.DeserializeObject <UrlFile>(File.ReadAllText("JsonUrl/Url.json"));

            _Read    = new ExcelRead(Url.LessonsUrl, 1);
            ListInfo = new ObservableCollection <Lessons>();
            for (int i = 1; i <= 11; i++)
            {
                LoadLes(i);
            }

            _Read.CloseActin();
        }