public async void Download(string base64String, string fileName, ContentTypes contentType) { await _jsRuntime.InvokeAsync <object>("downloadFromByteArray", new { ByteArray = base64String, FileName = fileName, ContentType = contentType.GetDescription(), }).ConfigureAwait(false); }