Пример #1
0
        public List <SysNavRole> GetSysNavRole()
        {
            using (var sysNavRoleDao = new SysNavRoleDao())
            {
                var list = sysNavRoleDao.GetNavRoles();

                //返回主键实体
                return(sysNavRoleDao.GetNavRoles());
            }
        }
Пример #2
0
 public async Task <List <SysNavRole> > GetSysNavRole(Guid[] sysRoleId)
 {
     using (var sysNavRoleDao = new SysNavRoleDao())
     {
         //返回主键实体
         return(await sysNavRoleDao.GetNavRoles(sysRoleId));
     }
 }
Пример #3
0
 public object GetSysNavRole()
 {
     using (var sysNavRoleDao = new SysNavRoleDao())
     {
         //返回主键实体
         return(sysNavRoleDao.GetNavRoles());
     }
 }