aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Item/PeopleManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Server.Implementations/Item/PeopleManager.cs')
-rw-r--r--Jellyfin.Server.Implementations/Item/PeopleManager.cs22
1 files changed, 11 insertions, 11 deletions
diff --git a/Jellyfin.Server.Implementations/Item/PeopleManager.cs b/Jellyfin.Server.Implementations/Item/PeopleManager.cs
index 0f1760cbd..d29d8b143 100644
--- a/Jellyfin.Server.Implementations/Item/PeopleManager.cs
+++ b/Jellyfin.Server.Implementations/Item/PeopleManager.cs
@@ -6,22 +6,22 @@ using Jellyfin.Data.Entities;
using Jellyfin.Data.Enums;
using Jellyfin.Extensions;
using MediaBrowser.Controller.Entities;
+using MediaBrowser.Controller.Persistence;
using Microsoft.EntityFrameworkCore;
namespace Jellyfin.Server.Implementations.Item;
-public class PeopleManager
+/// <summary>
+/// Manager for handling people.
+/// </summary>
+/// <param name="dbProvider">Efcore Factory.</param>
+/// <remarks>
+/// Initializes a new instance of the <see cref="PeopleManager"/> class.
+/// </remarks>
+/// <param name="dbProvider">The EFCore Context factory.</param>
+public class PeopleManager(IDbContextFactory<JellyfinDbContext> dbProvider) : IPeopleManager
{
- private readonly IDbContextFactory<JellyfinDbContext> _dbProvider;
-
- /// <summary>
- /// Initializes a new instance of the <see cref="PeopleManager"/> class.
- /// </summary>
- /// <param name="dbProvider">The EFCore Context factory.</param>
- public PeopleManager(IDbContextFactory<JellyfinDbContext> dbProvider)
- {
- _dbProvider = dbProvider;
- }
+ private readonly IDbContextFactory<JellyfinDbContext> _dbProvider = dbProvider;
public IReadOnlyList<PersonInfo> GetPeople(InternalPeopleQuery filter)
{