#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); }