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(); }