using MediaBrowser.Model.Entities;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Persistence
{
///
/// Interface IDisplayPreferencesRepository
///
public interface IDisplayPreferencesRepository : IRepository
{
///
/// Saves display preferences for an item
///
/// The user id.
/// The display preferences id.
/// The display preferences.
/// The cancellation token.
/// Task.
Task SaveDisplayPreferences(Guid userId, Guid displayPreferencesId, DisplayPreferences displayPreferences,
CancellationToken cancellationToken);
///
/// Gets the display preferences.
///
/// The user id.
/// The display preferences id.
/// Task{DisplayPreferences}.
Task GetDisplayPreferences(Guid userId, Guid displayPreferencesId);
}
}