@page "/favorites" @rendermode InteractiveServer Favorites

TODO

@inject OmdbService OmdbService @inject IJSRuntime JSRuntime @code { private async Task FaiCose() { await JSRuntime.InvokeVoidAsync("console.log", "Cose fatte!"); var movies = await OmdbService.FetchMovies("Matrix"); var movieDetail = await OmdbService.FetchMovieDetail("tt28228084"); await JSRuntime.InvokeVoidAsync("console.log", movies); await JSRuntime.InvokeVoidAsync("console.log", movieDetail); } }