public ActionResult <CalculateOutputModel> Calculate(CalculateInputModel input)
        {
            var result = new CalculateOutputModel {
                Result = input.Number1 + input.Number2
            };

            return(Ok(result));
        }
        public ActionResult <CalculateOutputModel> Calculate(CalculateInputModel input)
        {
            var result = new CalculateOutputModel();

            try
            {
                result.Result = input.Number1 + input.Number2;
                _logger.LogInformation("Successfully calculated a result");
            }
            catch (Exception ex)
            {
                _logger.LogError(ex, "Unable to calculate a result");
            }
            return(Ok(result));
        }