public JsonResult Calculate(int number)
        {
            var calculation = new FibonacciCalculation
            {
                Number = number,
                FibonacciNumber = CalculateFibonacci(number),
                IpAddress = Request.ServerVariables["REMOTE_ADDR"]
            };

            _numberRepository.Add(calculation);

            return Json(calculation, JsonRequestBehavior.AllowGet);
        }
 public void Add(FibonacciCalculation calculation)
 {
     _resultCalculations.Add(calculation);
 }