예제 #1
0
        public void Handle(CalculationDTO dto)
        {
            var newValue = _calculator.GetNext(dto.PreviousValue, dto.CurrentValue);

            _logger.Debug(newValue);

            _sender.SendResult(new CalculationDTO(dto.CurrentValue, newValue));
        }