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