public TypeLotteryCommandHandler(ITypeLotteryRepository TypeLotteryRepository, IUnitOfWork uow, IMediatorHandler bus, INotificationHandler <DomainNotification> notifications) : base(uow, bus, notifications) { _TypeLotteryRepository = TypeLotteryRepository; Bus = bus; }
public TypeLotteryAppService( IMapper mapper, ITypeLotteryRepository TypeLotteryRepository, IMediatorHandler bus, IEventStoreRepository eventStoreRepository) { this._mapper = mapper; this._TypeLotteryRepository = TypeLotteryRepository; this.Bus = bus; this._eventStoreRepository = eventStoreRepository; }