mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-03 11:07:21 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			724 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			724 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using System.Collections.Generic;
 | 
						|
using MediaBrowser.Controller.Entities;
 | 
						|
 | 
						|
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);
 | 
						|
    }
 | 
						|
}
 |