コード例 #1
0
 public bool SaveSubMenuItem(CsSubMenuItem subMenuItem)
 {
     return MenuItemProvider.GetInstance(_connectionString).SaveSubMenuItem(subMenuItem) != null;
 }
コード例 #2
0
 public CsSubMenuItem SaveSubMenuItem(CsSubMenuItem subMenuItem)
 {
     if (!Authenticate()) return null;
     if (_bzMenuItem == null)
     {
         _bzMenuItem = new MenuBusinessLogic(GetDbConnectionString());
     }
     _bzMenuItem.SaveSubMenuItem(subMenuItem);
     return subMenuItem;
 }