public ActionResult ArkEntity_List(ArkEntity_EditList_ViewModel model) { // refresh the viewModel model.Refresh(); // update breadcrumb // TODO: Session["NodeUrl"] = model.BuildNodeUrl("Agencies", "ArkEntity_List", "Agency List"); // return view to client return(View("ArkEntity_List", model)); }
public ActionResult ArkEntity_List() { // create the viewModel var vModel = new ArkEntity_EditList_ViewModel(Request.Query); // refresh the viewModel (meta only) vModel.Refresh(); // (Request.Query.Count > 0); // update breadcrumb // TODO: Session["NodeUrl"] = vModel.BuildNodeUrl("Agencies", "ArkEntity_List", "Agency List"); // return view to client return(View("ArkEntity_List", vModel)); }