Ejemplo n.º 1
0
 public RafflesController(IPrizeRepository prizeRepository, 
     IRaffleRepository raffleRepository, ILotteryNumberRepository lotteryNumberRepository)
 {
     _prizeRepository = prizeRepository;
     _raffleRepository = raffleRepository;
     _lotteryNumberRepository = lotteryNumberRepository;
 }
 public EventRevenueService(IPackageRepository packRepo,
                            IRaffleRepository raffleRepo,
                            IAuctionTransactionFactory factory)
 {
     _packRepo = packRepo;
     _raffleRepo = raffleRepo;
     _factory = factory;
 }
 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;
 }
Ejemplo n.º 4
0
 public RaffleService(IRaffleRepository repo,
                      IAuctionTransactionFactory factory)
 {
     _repo = repo;
     _factory = factory;
 }
Ejemplo n.º 5
0
 public RafflesController(IRaffleRepository repository, RaffleApiContext context)
 {
     this.Repository    = repository;
     Repository.Context = context;
 }
Ejemplo n.º 6
0
 public RaffleService(IRaffleRepository raffleRepository)
 {
     this._raffleRepository = raffleRepository;
 }