Метод | Описание | |
---|---|---|
AddRole ( |
||
AddUser ( |
||
AddUserInRole ( int userId, int roleId ) : bool | ||
GetAllRoles ( ) : List |
||
GetAllUsers ( ) : IQueryable |
||
GetRole ( int roleId ) : |
||
GetRoles ( int companyId, string roleName ) : List |
||
GetUser ( int userId ) : |
||
GetUser ( string userName ) : |
||
GetUserRoles ( int userId ) : List |
||
GetUsers ( int companyId ) : List |
||
GetUsers ( int companyId, string searchText ) : List |
||
IsUserInRole ( int userId, int roleId ) : bool | ||
IsUserNameExists ( int companyId, string searchText ) : bool | ||
RemoveRole ( int roleId ) : bool | ||
RemoveUserFromRole ( int roleId, int userId ) : bool | ||
UpdateRole ( Role role ) : bool | ||
UpdateUser ( UserProfile user ) : bool |
public AddUser ( |
||
user | ||
Результат | int |
public AddUserInRole ( int userId, int roleId ) : bool | ||
userId | int | |
roleId | int | |
Результат | bool |
public GetRole ( int roleId ) : |
||
roleId | int | |
Результат |
public GetRoles ( int companyId, string roleName ) : List |
||
companyId | int | |
roleName | string | |
Результат | List |
public GetUser ( int userId ) : |
||
userId | int | |
Результат |
public GetUser ( string userName ) : |
||
userName | string | |
Результат |
public GetUsers ( int companyId, string searchText ) : List |
||
companyId | int | |
searchText | string | |
Результат | List |
public IsUserInRole ( int userId, int roleId ) : bool | ||
userId | int | |
roleId | int | |
Результат | bool |
public IsUserNameExists ( int companyId, string searchText ) : bool | ||
companyId | int | |
searchText | string | |
Результат | bool |
public RemoveUserFromRole ( int roleId, int userId ) : bool | ||
roleId | int | |
userId | int | |
Результат | bool |
public UpdateUser ( UserProfile user ) : bool | ||
user | UserProfile | |
Результат | bool |