Ejemplo n.º 1
0
        public async Task <IActionResult> Get(string url = "https://silverdimond.tk")
        {
            var imageEndpoint = new ImageEndpoint(ApiClient, HttpClient);
            var imageUpload   = await imageEndpoint.UploadImageAsync(new MemoryStream(await Browser.RenderUrlAsyncAsByteArray(url)));

            return(Redirect(imageUpload.Link));
        }