public AlunoGrupoCommandHandler(IAlunoGrupoRepository alunoRepository,
                                 IUnitOfWork uow,
                                 IMediatorHandler bus,
                                 INotificationHandler <DomainNotification> notifications) : base(uow, bus, notifications)
 {
     _alunoGrupoRepository = alunoRepository;
     Bus = bus;
 }
Example #2
0
 public GrupoAppService(IMapper mapper,
                        IGrupoRepository grupoRepository,
                        IAlunoRepository alunoRepository,
                        IAlunoGrupoRepository alunoGrupoRepository,
                        IMediatorHandler bus,
                        IEventStoreRepository eventStoreRepository)
 {
     _mapper               = mapper;
     _grupoRepository      = grupoRepository;
     _alunoRepository      = alunoRepository;
     _alunoGrupoRepository = alunoGrupoRepository;
     Bus = bus;
     _eventStoreRepository = eventStoreRepository;
 }