public static InstallationCreateCommand FromResponse(GetInstallationsNearestResponse response) => InstallationCreateCommand.Create( response.Id, response.Airly, LocationAdapter.FromResponse(response), AddressAdapter.FromResponse(response.Address), SponsorAdapter.FromResponse(response.Sponsor));
internal static InstallationCreateCommand.InstallationCreateCommandLocation FromResponse( GetInstallationsNearestResponse response) => InstallationCreateCommand.InstallationCreateCommandLocation.Create( response.Location.Latitude, response.Location.Longitude, response.Elevation);