Exemple #1
0
 public TimeslotCrud(IPersonState personState, ITimeslotCommand timeslotCommand, ITimeslotQuery timeslotQuery, ITeacherQuery teacherQuery)
 {
     this.personState     = personState;
     this.timeslotQuery   = timeslotQuery;
     this.timeslotCommand = timeslotCommand;
     this.teacherQuery    = teacherQuery;
 }
Exemple #2
0
 public BookTimeslot(IPersonState state, IStudentQuery studentQuery, IBookingCommand bookingCommand, ITimeslotQuery timeslotQuery, ITimeslotCommand timeslotCommand)
 {
     this.state           = state;
     this.studentQuery    = studentQuery;
     this.bookingCommand  = bookingCommand;
     this.timeslotQuery   = timeslotQuery;
     this.timeslotCommand = timeslotCommand;
 }