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); }
public GamblingService(IDistributedCache distributedCache) { cBet = new CBet(distributedCache); betValidation = new BetValidation(distributedCache); }