public bool SaveSubMenuItem(CsSubMenuItem subMenuItem) { return MenuItemProvider.GetInstance(_connectionString).SaveSubMenuItem(subMenuItem) != null; }
public CsSubMenuItem SaveSubMenuItem(CsSubMenuItem subMenuItem) { if (!Authenticate()) return null; if (_bzMenuItem == null) { _bzMenuItem = new MenuBusinessLogic(GetDbConnectionString()); } _bzMenuItem.SaveSubMenuItem(subMenuItem); return subMenuItem; }