Method | Description | |
---|---|---|
AddUser ( User user ) : User |
创建角色
|
|
GetAll ( ) : IQueryable |
获取 用户信息查询数据集
|
|
GetUser ( long userId ) : User |
根据主键获取实体
|
|
GetUsers ( |
获取用户分页数据
|
|
UpdateUser ( User user ) : User |
更新用户
|
|
UserService ( long>.IRepository |
||
ValidateUser ( string userName, string password ) : UserLoginStatus |
验证用户名密码
|
public GetUsers ( |
||
input | ||
return | PagingList |
public UserService ( long>.IRepository |
||
userRepository | long>.IRepository | |
return | System.Collections.Generic |
public ValidateUser ( string userName, string password ) : UserLoginStatus | ||
userName | string | 用户名/注册邮箱/注册手机 |
password | string | 密码 |
return | UserLoginStatus |