public static void RemoveMenuCode(IEnumerable <string> userIds) { foreach (var userId in userIds) { MenuLocal.RemoveMenuCode(userId); MenuRemote.RemoveMenuCode(userId); } }
/// <summary> /// 删除某个用户的菜单文件 /// </summary> /// <param name="language"></param> /// <param name="markedCode"></param> /// <param name="isLocal"></param> /// <returns></returns> public static void RemoveMenuCode(string userId) { MenuLocal.RemoveMenuCode(userId); MenuRemote.RemoveMenuCode(userId); }