public ActionResult Get([FromQuery] CalculateInterestInput input)
        {
            var result = _calculateInterestService.Calculate(input);

            _logger.Log($"Result calculated: {result}", LogEvent.Debug);

            return(Ok(result));
        }
        public void ShouldCalculateZeroWhenInitialValueIsZero()
        {
            var calculateInterestInput = new CalculateInterestInput
            {
                ValorInicial = 0,
                Meses        = 1
            };

            var actual   = _calculateInterestService.Calculate(calculateInterestInput);
            var expected = 0m;

            Assert.Equal(expected, actual);
        }