public CreateTeacherCommand(ITeacherFactory teacherFactory, ITeachersData teachersData, IIdentityProvider idProvider) { if (teacherFactory == null) { throw new ArgumentNullException(nameof(teacherFactory)); } if (idProvider == null) { throw new ArgumentNullException(nameof(idProvider)); } this.idProvider = idProvider; this.teacherFactory = teacherFactory; this.teachersData = teachersData; }
public RemoveTeacherCommand(ITeachersData teachersData) { this.teachersData = teachersData; }
public TeacherAddMarkCommand(IStudentData studentData, ITeachersData teachersData) { this.studentData = studentData; this.teachersData = teachersData; }