public List<T_SYS_ROLE_V> GetChildCompanyRoles(string fatherCompanyID,bool includeFather) { using (SysRoleBLL RoleBll = new SysRoleBLL()) { IQueryable<T_SYS_ROLE_V> SysRoleInfosList = RoleBll.GetRoleViewByFatyerCompanyid(fatherCompanyID, includeFather); if (SysRoleInfosList == null) { return null; } else { return SysRoleInfosList.ToList(); } } }