Example #1
0
 public StudentsController(IBus publisher, IStudentService studentService,
                           IStudentDomainRepository studentRepository)
 {
     _publisher         = publisher;
     _studentService    = studentService;
     _studentRepository = studentRepository;
 }
Example #2
0
            public CreateStudentCommandHandler(

                IStudentFactory StudentFactory,
                IStudentDomainRepository StudentRepository)
            {
                _StudentFactory    = StudentFactory;
                _StudentRepository = StudentRepository;
            }
Example #3
0
 public DeleteStudentCommandHandler(IStudentDomainRepository StudentRepository)
 {
     _StudentRepository = StudentRepository;
 }