mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-19 01:58:01 +08:00
check some bugs
This commit is contained in:
@@ -22,6 +22,11 @@ namespace OpenAuth.App
|
||||
_relevanceRepository = relevanceRepository;
|
||||
}
|
||||
|
||||
public User Get(string account)
|
||||
{
|
||||
return _repository.FindSingle(u => u.Account == account);
|
||||
}
|
||||
|
||||
public int GetUserCntInOrg(int orgId)
|
||||
{
|
||||
if (orgId == 0)
|
||||
|
Reference in New Issue
Block a user