Delete a credit once no item maps to it any more
This commit is contained in:
@@ -33,6 +33,12 @@ public interface IPeopleRepository
|
||||
/// <returns>The list of people names matching the filter.</returns>
|
||||
IReadOnlyList<string> GetPeopleNames(InternalPeopleQuery filter);
|
||||
|
||||
/// <summary>
|
||||
/// Deletes every credit that no item maps to any more.
|
||||
/// </summary>
|
||||
/// <returns>The number of credits that were deleted.</returns>
|
||||
int DeleteOrphanedCredits();
|
||||
|
||||
/// <summary>
|
||||
/// Gets the distinct people names per item for multiple items efficiently by querying from the mapping table.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user