private static string GetMenuFileName(string userId, string markedCode) { string folder = MenuHelper.GetMenuFolder(GetVersion(), userId); return(string.IsNullOrEmpty(markedCode) ? folder : Path.Combine(folder, markedCode.ToBase64(Encoding.UTF8))); }
internal static void RemoveMenuCode(string userId) { var folder = MenuHelper.GetMenuFolder(_version, userId); IOUtil.Delete(folder); }