public TeacherController() { las = new LoadAndSave <Teacher>(Path); teachers = las.Load(); if (teachers == null) { teachers = new List <Teacher>(); } }
public ClassController(Teacher teacher) { current = teacher; las = new LoadAndSave <Class>(Path); classes = las.Load(); if (classes == null) { classes = new List <Class>(); } }