using MediaBrowser.Controller.Entities;
using System.Collections.Generic;
using System.Threading;
namespace MediaBrowser.Controller.Persistence
{
///
/// Provides an interface to implement a User repository
///
public interface IUserRepository : IRepository
{
///
/// Deletes the user.
///
/// The user.
/// The cancellation token.
/// Task.
void DeleteUser(User user, CancellationToken cancellationToken);
///
/// Saves the user.
///
/// The user.
/// The cancellation token.
/// Task.
void SaveUser(User user, CancellationToken cancellationToken);
///
/// Retrieves all users.
///
/// IEnumerable{User}.
IEnumerable RetrieveAllUsers();
}
}