Method | Description | |
---|---|---|
Create ( User itemToCreate ) : User | ||
Delete ( long id ) : User | ||
ExistEmail ( string userName ) : bool | ||
Filter ( bool>.Expression |
||
First ( bool>.Expression |
||
FirstOrDefault ( bool>.Expression |
||
GetAllUsers ( ) : IEnumerable |
||
GetById ( long id ) : User | ||
GetUserRole ( long idUser ) : Roles | ||
Query ( User>.Expression |
||
SaveChanges ( ) : void | ||
Update ( User itemToUpdate ) : User | ||
UpdateUserFromUserEditModel ( User userModel, User user ) : User | ||
UserRepository ( MhotivoContext ctx ) : System |
public Filter ( bool>.Expression |
||
expression | bool>.Expression | |
return | IQueryable |
public First ( bool>.Expression |
||
query | bool>.Expression | |
return | User |
public FirstOrDefault ( bool>.Expression |
||
query | bool>.Expression | |
return | User |
public Query ( User>.Expression |
||
expression | User>.Expression | |
return | IQueryable |
public UpdateUserFromUserEditModel ( User userModel, User user ) : User | ||
userModel | User | |
user | User | |
return | User |
public UserRepository ( MhotivoContext ctx ) : System | ||
ctx | MhotivoContext | |
return | System |