using MediaBrowser.Model.FileOrganization;
using MediaBrowser.Model.Querying;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Persistence
{
public interface IFileOrganizationRepository
{
///
/// Saves the result.
///
/// The result.
/// The cancellation token.
/// Task.
Task SaveResult(FileOrganizationResult result, CancellationToken cancellationToken);
///
/// Gets the results.
///
/// The query.
/// IEnumerable{FileOrganizationResult}.
QueryResult GetResults(FileOrganizationResultQuery query);
}
}