public StudentsController(IBus publisher, IStudentService studentService, IStudentDomainRepository studentRepository) { _publisher = publisher; _studentService = studentService; _studentRepository = studentRepository; }
public CreateStudentCommandHandler( IStudentFactory StudentFactory, IStudentDomainRepository StudentRepository) { _StudentFactory = StudentFactory; _StudentRepository = StudentRepository; }
public DeleteStudentCommandHandler(IStudentDomainRepository StudentRepository) { _StudentRepository = StudentRepository; }