Пример #1
0
 public CBet(IDistributedCache distributedCache)
 {
     betModel           = new BetModel(distributedCache);
     betResultModel     = new BetResultModel(distributedCache);
     gamblerModel       = new GamblerModel(distributedCache);
     rouletteModel      = new RouletteModel(distributedCache);
     gamblingModel      = new GamblingModel(distributedCache);
     betValidation      = new BetValidation(distributedCache);
     gamblingValidation = new GamblingValidation(distributedCache);
     cGambling          = new CGambling(distributedCache);
 }
Пример #2
0
 public GamblingService(IDistributedCache distributedCache)
 {
     cBet          = new CBet(distributedCache);
     betValidation = new BetValidation(distributedCache);
 }