/// <summary> /// Find Menu Items by Role ID /// </summary> public IEnumerable <MenuRight> FindMenuItemsByRoleId(string roleId) { var menus = menuRightRepository.GetMenuByRole(roleId).ToList(); return(menus); }
/// <summary> /// Find Menu Items by Role ID /// </summary> public IQueryable <MenuRight> FindMenuItemsByRoleId(string roleId) { return(menuRightRepository.GetMenuByRole(roleId)); }