Пример #1
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;
 }
 public PersonState(ICookieCRUD cookieCrud, IPersonCommand personCommand, IPersonQuery personQuery, ITeacherQuery teacherQuery, ITeacherCommand teacherCommand, IStudentQuery studentQuery, IStudentCommand studentCommand)
 {
     this.cookieCRUD     = cookieCrud;
     this.personQuery    = personQuery;
     this.personCommand  = personCommand;
     this.teacherCommand = teacherCommand;
     this.teacherQuery   = teacherQuery;
     this.studentCommand = studentCommand;
     this.studentQuery   = studentQuery;
 }
 public StudentsController(IStudentService studentService, IStudentQuery studentQuery)
 {
     _studentService = studentService;
     _studentQuery   = studentQuery;
 }
Пример #4
0
 public HomeController(IStudentQuery repository)
 {
     this.repository = repository;
 }