//delete public bool RemoveMenuItem(string name) { MenuList content = GetMenuNames(name); if (content == null) { return(false); } int initialCount = _menuLists.Count; _menuLists.Remove(content); if (initialCount > _menuLists.Count) { return(true); } else { return(false); } }
//create public void AddMenuItem(MenuList content) { _menuLists.Add(content); }