Beispiel #1
0
        public List <SysNavRole> GetSysNavRole()
        {
            using (var sysNavRoleDao = new SysNavRoleDao())
            {
                var list = sysNavRoleDao.GetNavRoles();

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