using MediaBrowser.Model.FileSorting;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Persistence
{
public interface IFileSortingRepository
{
///
/// Saves the result.
///
/// The result.
/// The cancellation token.
/// Task.
Task SaveResult(FileSortingResult result, CancellationToken cancellationToken);
///
/// Gets the results.
///
/// The query.
/// IEnumerable{FileSortingResult}.
IEnumerable GetResults(FileSortingResultQuery query);
}
}