Beispiel #1
0
        private void HandleAddLecture(object parameter)
        {
            var newLecture = new AddLectureModel();

            LoadData.CreateLectures(newLecture, AppCache.Config.AccessToken, this.Id, () =>
            {
                var lecture              = new LectureViewModel();
                lecture.Name             = newLecture.Name;
                lecture.HomeworkDeadline = newLecture.HomeworkDeadline;
                this.Lectures.Add(lecture);
            });
        }