Movie Table (#2)
* Table to search movies implemented * OMDB service for API connection Reviewed-on: #2 Co-authored-by: Berack96 <giacomobertolazzi7@gmail.com> Co-committed-by: Berack96 <giacomobertolazzi7@gmail.com>
This commit was merged in pull request #2.
This commit is contained in:
@@ -4,4 +4,15 @@
|
||||
|
||||
<h1>TODO</h1>
|
||||
|
||||
<button class="btn btn-primary" @onclick="FaiCose">FaiCose</button>
|
||||
|
||||
@inject OmdbService OmdbService
|
||||
@inject IJSRuntime JSRuntime
|
||||
|
||||
@code {
|
||||
private async Task FaiCose()
|
||||
{
|
||||
var movies = await OmdbService.FetchMovies("Matrix");
|
||||
var movieDetail = await OmdbService.FetchMovieDetail("tt11749868");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user