public void AddMenuItem(MenuItemViewModel menuItem)
        {
            this.MenuItems.Add(menuItem);

            if (MenuItems.Count == 1 || SelectedMenuItem != MenuItems[0])
            {
                this.SelectedMenuItem = this.MenuItems[0];
                eventAggregator.Publish(
                    new CanCreateNewChangeEvent(AuthorisationHelpers.HasEntityRights(SelectedMenuItem.Name)));
            }
        }
 public void AddNewEntityMenuItem(MenuItemViewModel menuItem)
 {
     this.NewEntityMenuItems.Add(menuItem);
 }