Esempio n. 1
0
 public SalesController(IClientRepository clientRepository, ISaleRepository saleRepository,
     ILotteryRepository lotteryRepository)
 {
     _clientRepository = clientRepository;
     _saleRepository = saleRepository;
     _lotteryRepository = lotteryRepository;
 }
        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;
        }
Esempio n. 3
0
 public LotteryCommandHandler(ILotteryRepository lotteryRepository,
                              IUnitOfWork uow,
                              IMediatorHandler bus,
                              INotificationHandler <DomainNotification> notifications) : base(uow, bus, notifications)
 {
     _lotteryRepository = lotteryRepository;
     Bus = bus;
 }
 public LotteriesController( ILotteryPriceRepository lotterypriceRepository, 
                             ILotteryRepository lotteryRepository,
                             ILotteryNumberRepository lotteryNumber)
 {
     _lotterypriceRepository = lotterypriceRepository;
     _lotteryRepository = lotteryRepository;
     _lotteryNumber = lotteryNumber;
 }
 public LotteryNumbersController(IPrizeRepository prizeRepository, ISaleRepository saleRepository,
                                 ILotteryRepository lotteryRepository,
                                 ILotteryNumberRepository lotterynumberRepository)
 {
     _prizeRepository = prizeRepository;
     _saleRepository = saleRepository;
     _lotteryRepository = lotteryRepository;
     _lotterynumberRepository = lotterynumberRepository;
 }
 public LotteryAppService(IMapper mapper,
                          ILotteryRepository lotteryRepository,
                          IMediatorHandler bus,
                          IEventStoreRepository eventStoreRepository)
 {
     _mapper               = mapper;
     _lotteryRepository    = lotteryRepository;
     _eventStoreRepository = eventStoreRepository;
     Bus = bus;
 }
 public LotteryStoreController(
     ILotteryRepository lotteryRepository, 
     IClientRepository clientRepository, 
     ILotteryNumberRepository lotteryNumberRepository,
     IPrizeRepository prizeRepository,
     ISaleRepository saleRepository,
     IRaffleRepository raffleRepository)
 {
     _lotteryRepository = lotteryRepository;
     _clientRepository = clientRepository;
     _lotteryNumberRepository = lotteryNumberRepository;
     _prizeRepository = prizeRepository;
     _saleRepository = saleRepository;
     _raffleRepository = raffleRepository;
 }
Esempio n. 8
0
 public PrizesController(ILotteryRepository lotteryRepository, IPrizeRepository prizeRepository)
 {
     _lotteryRepository = lotteryRepository;
     _prizeRepository = prizeRepository;
 }
Esempio n. 9
0
 public LotteryService(ILotteryRepository repository)
 {
     _repository = repository;
 }
Esempio n. 10
0
 public LotteryService(ILotteryRepository lotteryRepository, IAppSetting appSetting)
 {
     this.lotteryRepository = lotteryRepository;
     this.appSetting        = appSetting;
 }