public static async Task <string> GetUrlAsync()
        {
            var prompt = new AddAPIEndPointDialog();

            _ = await prompt.ShowAsync();

            return(prompt.Url);
        }
        public static async Task <ApiEndPoint> GetApiEndPointAsync()
        {
            var prompt = new AddAPIEndPointDialog();

            _ = await prompt.ShowAsync();

            return(new ApiEndPoint(prompt.Url)
            {
                Credential = prompt.HttpBasicAuthCredential,
                Proxy = prompt.ProxyInfo,
                UseHttpAuth = prompt.UseHttpAuth,
                UseProxy = prompt.UseProxy
            });
        }