public IActionResult GetMeanAirTime()
        {
            var flights = flightsRepository.GetMeanAirTime();

            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            return(Ok(flights.Result));
        }