Remove redundant comments and update list initialization
Removed unnecessary inline comments from SearchMovies.razor, SearchShows.razor, Movie.cs, and MovieService.cs to improve code readability. Also updated Movie.Results list initialization to use collection expression syntax.
This commit is contained in:
@@ -101,7 +101,6 @@ public class MovieService
|
||||
|
||||
if (response.IsSuccessful)
|
||||
{
|
||||
// Deserialize the response into the ActorFilmography class
|
||||
var actorFilmography = JsonSerializer.Deserialize<ActorMovieFilmography>(response.Content, new JsonSerializerOptions { PropertyNameCaseInsensitive = true });
|
||||
return actorFilmography;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user