public ActionResult HomeWithPost(HomeModel data, bool NewPage = false)
        {
            if (string.IsNullOrWhiteSpace(data.Name))
            {
                // Push back an error
                ModelState.AddModelError("Name", "Name must be specified");
                return(View(data));
            }
            else
            {
                _name = data.Name;

                if (NewPage)
                {
                    return(RedirectToAction("ShowEditorValues"));
                }
                else
                {
                    // Refresh the home page
                    return(IntelliTect.Journey.RefreshPage());
                }
            }
        }
        public ActionResult HomeWithPost(HomeModel data, bool NewPage = false)
        {
            if (string.IsNullOrWhiteSpace(data.Name))
            {
                // Push back an error
                ModelState.AddModelError("Name", "Name must be specified");
                return View(data);
            }
            else
            {
                _name = data.Name;

                if (NewPage)
                {
                    return RedirectToAction("ShowEditorValues");
                }
                else
                {
                    // Refresh the home page
                    return IntelliTect.Journey.RefreshPage();
                }
            }
        }
        public ActionResult HomeWithPostNewPage(HomeModel data)
        {
            if (string.IsNullOrWhiteSpace(data.Name))
            {
                // Push back an error
                ModelState.AddModelError("Name", "Name must be specified");
                return View(data);
            }
            else
            {
                _name = data.Name;

                return RedirectToAction("ShowEditorValues");
            }
        }
 public ActionResult HomeWithPost()
 {
     var data = new HomeModel()
     {
         Name = _name
     };
     return View(data);
 }