private void AddSalesMenu()
        {
            TopMenu.Add(new MenuItem()
            {
                ActionName     = "Index",
                ControllerName = "Client",
                DisplayName    = "Kunder"
            });

            TopMenu.Add(new MenuItem()
            {
                ActionName     = "Index",
                ControllerName = "Budget",
                DisplayName    = "Budget"
            });

            TopMenu.Add(new MenuItem()
            {
                ActionName     = "LogOff",
                ControllerName = "Account",
                DisplayName    = "Log Out"
            });
        }
        private void AddAdminMenu()
        {
            TopMenu.Add(new MenuItem()
            {
                ActionName     = "Index",
                ControllerName = "Client",
                DisplayName    = "Kunder"
            });

            TopMenu.Add(new MenuItem()
            {
                ActionName     = "Index",
                ControllerName = "Chat",
                DisplayName    = "Chat"
            });

            TopMenu.Add(new MenuItem()
            {
                ActionName     = "Index",
                ControllerName = "Budget",
                DisplayName    = "Budget"
            });

            TopMenu.Add(new MenuItem()
            {
                ActionName     = "Index",
                ControllerName = "AccountManager",
                DisplayName    = "Kontoansvarig"
            });

            TopMenu.Add(new MenuItem()
            {
                ActionName     = "LogOff",
                ControllerName = "Account",
                DisplayName    = "Log Out"
            });
        }
Пример #3
0
 public TestPageVM()
 {
     TopMenu.Add(new Models.TopMenuButtonModel(FontAwesome.UWP.FontAwesomeIcon.AddressCard, "Test Button", "/Pages/HomePage"));
 }