public EventoCommandHandler(IAggregateRespository <Evento> aggregateRespository) : base(aggregateRespository) { Register <CreateEvento>(processCommand); Register <EndEvento>(processCommand); Register <LeaveEvento>(processCommand); Register <DeleteEvento>(processCommand); Register <ExtendEvento>(processCommand); Register <UpdateParticipantList>(processCommand); Register <UpdateParticipantState>(processCommand); }
public CommandHandler(IAggregateRespository <TDomain> aggregateRespository) { this.repository = aggregateRespository; }
public CommandHandler(IAggregateRespository <IAggregateRoot> aggregateRespository) { this.repository = aggregateRespository; }