public override void PostDeleteTasks(ETeacherEntry element) { foreach (CourseEntry s in AllCourses.Instance.CoursesList) { s.RemoveTeacherFromCourse(element); } HDDSync.SaveTeachersToHdd(); }
public override void PostModifyTasks(ETeacherEntry entry) { foreach (CourseEntry course in AllCourses.Instance.lists) { if (course.TeacherEntry.lists.Contains(entry) || course.IC == entry) { HDDSync.SaveCourseToHdd(course); } } HDDSync.SaveTeachersToHdd(); }
public override void PostAddTasks(ETeacherEntry element) { HDDSync.SaveTeachersToHdd(); }