public AlunoGrupoCommandHandler(IAlunoGrupoRepository alunoRepository, IUnitOfWork uow, IMediatorHandler bus, INotificationHandler <DomainNotification> notifications) : base(uow, bus, notifications) { _alunoGrupoRepository = alunoRepository; Bus = bus; }
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; }