Exemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="teacher"></param>
 /// <param name="course"></param>
 /// <param name="state"></param>
 public void SetCourseState(Teacher teacher, Course course, EnumState state) =>
 FindData(teacher, course).CourseManager.State = state;
Exemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="teacher"></param>
 /// <param name="course"></param>
 /// <returns></returns>
 public ArchiveItem FindData(Teacher teacher, Course course) =>
 ArchiveList.Find(i => i.CourseManager.Course == course && i.Teacher == teacher);