check some bugs

This commit is contained in:
yubaolee
2016-07-11 18:21:26 +08:00
parent 9a328c9c90
commit 994ab81ebb
10 changed files with 100 additions and 150 deletions

View File

@@ -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)