Extention method not working when trying to add method to the Blazor's IJSRuntime service – Asp.net
I injected the IJSRuntime service into my code, and I'm trying to create an extension method to reduce the mess of having to use await js.InvokeAsync<bool>("confirm", "my message") to simply the created method, which wold be something like await js.ConfirmMethod("my…