mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-18 17:48:01 +08:00
org manager
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using OpenAuth.Domain;
|
||||
using OpenAuth.Domain.Interface;
|
||||
|
||||
@@ -44,7 +42,7 @@ namespace OpenAuth.Repository
|
||||
public IEnumerable<Org> GetSubOrgs(string orgId)
|
||||
{
|
||||
string cascadeId = "0.";
|
||||
if (orgId != string.Empty)
|
||||
if (!string.IsNullOrEmpty(orgId))
|
||||
{
|
||||
var org = FindSingle(u => u.Id == orgId);
|
||||
if (org == null)
|
||||
|
Reference in New Issue
Block a user