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