public PersonLotteryAppService(IMapper mapper, IPersonLotteryRepository PersonLotteryRepository, ILotteryRepository lotteryRepository, IEventStoreRepository eventStoreRepository, IMediatorHandler bus, IJsonDashboardRepository jsonDashboardRepository, IPersonGameRepository personGameRepository, IPersonRepository personRepository, IConfigurationRepository configurationRepository, IEmailSender emailSender) { _mapper = mapper; _PersonLotteryRepository = PersonLotteryRepository; _LotteryRepository = lotteryRepository; _eventStoreRepository = eventStoreRepository; Bus = bus; _jsonDashboardRepository = jsonDashboardRepository; _personGameRepository = personGameRepository; _personRepository = personRepository; _configurationRepository = configurationRepository; _emailSender = emailSender; }
public PersonLotteryCommandHandler(IPersonLotteryRepository PersonLotteryRepository, IUnitOfWork uow, IMediatorHandler bus, INotificationHandler <DomainNotification> notifications) : base(uow, bus, notifications) { _PersonLotteryRepository = PersonLotteryRepository; Bus = bus; }