public LotteryController(ILotteryNumberGenerator lotteryNumberGenerator)
 {
     _lotteryNumberGenerator = lotteryNumberGenerator;
 }
 public Lottery(LotteryDefinition definition, ILotteryNumberGenerator generator)
 {
     _definition = definition ?? throw new ArgumentNullException(nameof(definition));
     _generator  = generator ?? throw new ArgumentNullException(nameof(generator));
 }