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