public IActionResult GetChartDate()
        {
            var flights = flightsRepository.GetChartData();

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

            return(Ok(flights.Result));
        }