Méthode | Description | |
---|---|---|
CreateUser ( |
The create new user.
|
|
DeleteUser ( int userId ) : void |
The delete user.
|
|
GetAll ( ) : IEnumerable |
The get all.
|
|
GetById ( int userId ) : |
The get by id.
|
|
GetByName ( string userName ) : |
The get by name.
|
|
GetRoleByName ( string userName ) : string |
The get role by name.
|
|
GetUserEmailById ( int userId ) : string |
The get user email by id.
|
|
GetUserImageById ( int userId ) : byte[] |
The get user image by id.
|
|
UpdateUser ( |
The update user.
|
|
UserRepository ( |
Initializes a new instance of the UserRepository class.
|
public CreateUser ( |
||
user | /// The user. /// | |
Résultat | void |
public DeleteUser ( int userId ) : void | ||
userId | int | /// The user id. /// |
Résultat | void |
public GetById ( int userId ) : |
||
userId | int | /// The user id. /// |
Résultat |
public GetByName ( string userName ) : |
||
userName | string | /// The user name. /// |
Résultat |
public GetRoleByName ( string userName ) : string | ||
userName | string | /// The user name. /// |
Résultat | string |
public GetUserEmailById ( int userId ) : string | ||
userId | int | /// The user id. /// |
Résultat | string |
public GetUserImageById ( int userId ) : byte[] | ||
userId | int | /// The user id. /// |
Résultat | byte[] |
public UpdateUser ( |
||
user | /// The user, which will be updated /// | |
Résultat | void |
public UserRepository ( |
||
dataBaseContext | /// The data base context. /// | |
Résultat | System |