Interface IUserRepository
- Namespace
- Oqtane.Repository
- Assembly
- Oqtane.Server.dll
public interface IUserRepository
Methods
AddUser(User)
User AddUser(User user)
Parameters
user
User
Returns
DeleteUser(int)
void DeleteUser(int userId)
Parameters
userId
int
GetUser(int)
User GetUser(int userId)
Parameters
userId
int
Returns
GetUser(int, bool)
User GetUser(int userId, bool tracking)
Parameters
Returns
GetUser(string)
User GetUser(string username)
Parameters
username
string
Returns
GetUser(string, string)
User GetUser(string username, string email)
Parameters
Returns
GetUsers()
IEnumerable<User> GetUsers()
Returns
UpdateUser(User)
User UpdateUser(User user)
Parameters
user
User