2018-12-27 16:27:57 -07:00
|
|
|
using System.Collections.Generic;
|
2019-01-13 12:25:32 -07:00
|
|
|
using MediaBrowser.Controller.Entities;
|
2018-12-27 16:27:57 -07:00
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Persistence
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Provides an interface to implement a User repository
|
|
|
|
/// </summary>
|
|
|
|
public interface IUserRepository : IRepository
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Deletes the user.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="user">The user.</param>
|
|
|
|
/// <returns>Task.</returns>
|
|
|
|
void DeleteUser(User user);
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Retrieves all users.
|
|
|
|
/// </summary>
|
|
|
|
/// <returns>IEnumerable{User}.</returns>
|
|
|
|
List<User> RetrieveAllUsers();
|
|
|
|
|
|
|
|
void CreateUser(User user);
|
|
|
|
void UpdateUser(User user);
|
|
|
|
}
|
|
|
|
}
|