Метод | Описание | |
---|---|---|
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 Create ( User itemToCreate ) : User | ||
itemToCreate | User | |
Результат | User |
public ExistEmail ( string userName ) : bool | ||
userName | string | |
Результат | bool |
public Filter ( bool>.Expression |
||
expression | bool>.Expression | |
Результат | IQueryable |
public First ( bool>.Expression |
||
query | bool>.Expression | |
Результат | User |
public FirstOrDefault ( bool>.Expression |
||
query | bool>.Expression | |
Результат | User |
public GetUserRole ( long idUser ) : Roles | ||
idUser | long | |
Результат | Roles |
public Query ( User>.Expression |
||
expression | User>.Expression | |
Результат | IQueryable |
public Update ( User itemToUpdate ) : User | ||
itemToUpdate | User | |
Результат | User |
public UpdateUserFromUserEditModel ( User userModel, User user ) : User | ||
userModel | User | |
user | User | |
Результат | User |
public UserRepository ( MhotivoContext ctx ) : System | ||
ctx | MhotivoContext | |
Результат | System |