public ActionResult _EditNavigation(NavigationEditModel navigationEditModel)
        {
            InitialNavigation navigation = navigationEditModel.AsInitialNavigation();

            bool forceOwnerUpdate = Request.Form.Get<bool>("ForceOwnerUpdate");
            navigationService.UpdateInitialNavigation(navigation, forceOwnerUpdate);

            return Json(new StatusMessageData(StatusMessageType.Success, "更新成功"));
        }
        public ActionResult _EditNavigation(int navigationId)
        {
            InitialNavigation navigation = navigationService.GetInitialNavigation(navigationId);
            NavigationEditModel navigationEditModel = new NavigationEditModel();
            if (navigation != null)
            {
                navigationEditModel = navigation.AsNavigationEditModel();

                if (navigation.ApplicationId > 0)
                {

                    ApplicationBase application = appService.Get(navigation.ApplicationId);
                    if (application != null)
                    {
                        ViewData["applicationName"] = application.Config.ApplicationName;
                    }
                }
            }

            return View(navigationEditModel);
        }