protected async Task HandleButtonClick() { Page = 1; var results = await FetchMovieResults(); SearchActorComponent.ClearActor(); SearchDirectorComponent.ClearDirector(); SearchKeywordComponent.ClearKeyword(); if (results is not null) { Page = results.Page; Results = results.Results; TotalPages = results.Total_Pages; TotalResults = results.Total_Results; } ScrollTop(); }
protected void RemoveSelectedDirector(Person director) { SearchDirectorComponent.ClearDirector(); SelectedDirectors.Remove(director); }