public IActionResult SaveAircraftAvailability(AircraftAvailabilityModel model)
        {
            if (model.AircraftAvailabilityId.HasValue)
            {
                _aircraftService.UpdateAvailability(model.AircraftAvailabilityId.Value, model.AircraftId,
                                                    model.ReroutingRadius,
                                                    model.DepartureLocations,
                                                    model.ArrivalLocations,
                                                    model.Periods,
                                                    model.PricePerHour, model.MinimumAcceptablePrice, model.SellCharterSeat);
            }
            else
            {
                _aircraftService.CreateAvailability(model.AircraftId,
                                                    model.ReroutingRadius,
                                                    model.DepartureLocations,
                                                    model.ArrivalLocations,
                                                    model.Periods,
                                                    model.PricePerHour, model.MinimumAcceptablePrice, model.SellCharterSeat);
            }

            return(Ok());
        }