public static List <UserMenuInfo> GetAllUserMenuInfoList() { return(UserMenuManagerCache.GetAllUserMenus()); }
public static UserMenuInfo GetUserMenuInfo(int menuId) { var list = UserMenuManagerCache.GetAllUserMenus(); return(list.FirstOrDefault(menu => menu.Id == menuId)); }