public OrganizationMenuItemViewModel(OrganizationMenuItem model, Action<OrganizationMenuItemViewModel> gotoCommand)
        {
            Model = model;

            ImageName = model.ImageName;
            Name = model.Name;
            Title = model.Name;

            SubMenuItems = model.SubMenuItems.CreateDerivedCollection (x => new OrganizationSubMenuItemViewModel(x, gotoCommand));

            GoToCommand = ReactiveCommand.Create ();
            GoToCommand.Subscribe (x => gotoCommand (this));
        }
 public OrganizationSubMenuItemViewModel(OrganizationMenuItem model, Action<OrganizationMenuItemViewModel> gotoCommand)
     : base(model, gotoCommand)
 {
 }