public TimeslotCrud(IPersonState personState, ITimeslotCommand timeslotCommand, ITimeslotQuery timeslotQuery, ITeacherQuery teacherQuery) { this.personState = personState; this.timeslotQuery = timeslotQuery; this.timeslotCommand = timeslotCommand; this.teacherQuery = teacherQuery; }
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; }