public void ReturnCorrectDistanceInMiles(double lat1, double lon1, double lat2, double lon2, double expected)
        {
            //Arrange
            var miles = DistanceHelper.GetDistanceInMiles(lat1, lon1, lat2, lon2);

            Assert.Equal(miles, expected);
        }
        public async Task <double> GetDistanceBetweenAirportsAsync(string iataFrom, string iataTo)
        {
            Airport airportFrom = await _airportService.GetAirportAsync(iataFrom);

            Airport airportTo = await _airportService.GetAirportAsync(iataTo);

            return(DistanceHelper.GetDistanceInMiles(airportFrom.Location.Lat, airportFrom.Location.Lon, airportTo.Location.Lat, airportTo.Location.Lon));
        }