Skip to content

Commit

Permalink
Merge pull request #478 from Artikronisz/dev/476_WhereGenresExclude
Browse files Browse the repository at this point in the history
  • Loading branch information
cvium authored Jan 14, 2024
2 parents 3bf0087 + 4c83709 commit ae0997a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions TMDbLib/Objects/Discover/DiscoverTv.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,15 +189,15 @@ public DiscoverTv IncludeNullFirstAirDates(bool include)
}

/// <summary>
/// Exclude TV shows with the specified genres. Expected value is a list of Generes.
/// Exclude TV shows with the specified genres. Expected value is a list of genres.
/// </summary>
public DiscoverTv WhereGenresExclude(IEnumerable<Genre> genres)
{
return WhereGenresInclude(genres.Select(s => s.Id));
return WhereGenresExclude(genres.Select(s => s.Id));
}

/// <summary>
/// Exclude TV shows with the specified genres. Expected value is an integer (the id of a genre).
/// Exclude TV shows with the specified genres. Expected value is a list of integer (the id of a genre).
/// </summary>
public DiscoverTv WhereGenresExclude(IEnumerable<int> genreIds)
{
Expand Down

0 comments on commit ae0997a

Please sign in to comment.