From be48cdd9e90ed147c5526ef3fed0624bcbad7741 Mon Sep 17 00:00:00 2001
From: JPVenson <6794763+JPVenson@users.noreply.github.com>
Date: Wed, 9 Oct 2024 09:53:39 +0000
Subject: Naming refactoring and WIP porting of new interface repositories
---
.../Persistence/IMediaAttachmentRepository.cs | 28 ++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 MediaBrowser.Controller/Persistence/IMediaAttachmentRepository.cs
(limited to 'MediaBrowser.Controller/Persistence/IMediaAttachmentRepository.cs')
diff --git a/MediaBrowser.Controller/Persistence/IMediaAttachmentRepository.cs b/MediaBrowser.Controller/Persistence/IMediaAttachmentRepository.cs
new file mode 100644
index 000000000..4773f4058
--- /dev/null
+++ b/MediaBrowser.Controller/Persistence/IMediaAttachmentRepository.cs
@@ -0,0 +1,28 @@
+#nullable disable
+
+#pragma warning disable CS1591
+
+using System;
+using System.Collections.Generic;
+using System.Threading;
+using MediaBrowser.Model.Entities;
+
+namespace MediaBrowser.Controller.Persistence;
+
+public interface IMediaAttachmentRepository
+{
+ ///
+ /// Gets the media attachments.
+ ///
+ /// The query.
+ /// IEnumerable{MediaAttachment}.
+ IReadOnlyList GetMediaAttachments(MediaAttachmentQuery filter);
+
+ ///
+ /// Saves the media attachments.
+ ///
+ /// The identifier.
+ /// The attachments.
+ /// The cancellation token.
+ void SaveMediaAttachments(Guid id, IReadOnlyList attachments, CancellationToken cancellationToken);
+}
--
cgit v1.2.3