示例#1
0
        public ActionResult ArkStory_List(ArkStory_EditList_ViewModel model)
        {
            // refresh the viewModel
            model.Refresh();

            // update breadcrumb
            // TODO: Session["NodeUrl"] = model.BuildNodeUrl("Agencies", "ArkStory_List", "Agency List");

            // return view to client
            return(View("ArkStory_List", model));
        }
示例#2
0
        public ActionResult ArkStory_List()
        {
            // create the viewModel
            var vModel = new ArkStory_EditList_ViewModel(Request.Query);

            // refresh the viewModel (meta only)
            vModel.Refresh(); // (Request.Query.Count > 0);

            // update breadcrumb
            // TODO: Session["NodeUrl"] = vModel.BuildNodeUrl("Agencies", "ArkStory_List", "Agency List");

            // return view to client
            return(View("ArkStory_List", vModel));
        }