コード例 #1
0
 public WheelService(ISpinRepo spinRepo,
                     ITransactionRepo transactionRepo,
                     IBalanceRepo balanceRepo,
                     ICouponRepo couponRepo,
                     ICouponValueRepo couponValueRepo,
                     IWheelConfigurationRepo wheelConfigurationRepo,
                     IWheelConfigurationSliceRepo wheelConfigurationSliceRepo,
                     IUserRepo userRepo)
 {
     _spinRepo                    = spinRepo;
     _transactionRepo             = transactionRepo;
     _balanceRepo                 = balanceRepo;
     _couponRepo                  = couponRepo;
     _couponValueRepo             = couponValueRepo;
     _wheelConfigurationRepo      = wheelConfigurationRepo;
     _wheelConfigurationSliceRepo = wheelConfigurationSliceRepo;
     _userRepo                    = userRepo;
 }
コード例 #2
0
 //constructor
 public CouponsController(ICouponRepo repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }