public CreateTeacherCommand(ISchoolFactory schoolFactory, ISchoolDatabase schoolDatabase)
 {
     this.schoolFactory  = schoolFactory;
     this.schoolDatabase = schoolDatabase;
 }
 public CreateStudentCommand(ISchoolFactory schoolFactory, ISchoolDatabase schoolDadtabase)
 {
     this.schoolFactory  = schoolFactory;
     this.schoolDatabase = schoolDadtabase;
 }
Ejemplo n.º 3
0
 public Teacher(string firstName, string lastName, Subject subject, ISchoolFactory schoolFactory)
     : base(firstName, lastName)
 {
     this.Subject       = subject;
     this.schoolFactory = schoolFactory;
 }