public List <SysPermission> GetPermissionList(PermissionCode permission) { Type t = permission.GetType(); List <SysPermission> list = new List <SysPermission>(); list = GetPermissionList(t, list); return(list); }
public List <SysPermission> GetPermissionList(PermissionCode permission) { Type t = permission.GetType(); List <SysPermission> list = new List <SysPermission>(); //SysPermission p = new SysPermission(); //p.Id = "0"; //p.Name = "权限集合"; //p.PId = ""; //list.Add(p); list = GetBasePermissionList(t, list); return(list); }