public ActionResult EditJQueryTemplate(User user)
        {
            if (!this.ModelState.IsValid)
                return View(user);

            CurrentUser = user;
            return RedirectToAction("Display");
        }
        public ActionResult EditKnockoutJS(User user)
        {
            FormResponseData responseData = new FormResponseData() {
                Success = false
            };

            if (this.ModelState.IsValid) {
                CurrentUser = user;
                responseData.Success = true;
            }

            return Json(responseData);
        }
 public ActionResult Edit(User user)
 {
     return SaveAndToDisplay(user);
 }
 public ActionResult Reset()
 {
     CurrentUser = GetFakeUser();
     return RedirectToAction("Display");
 }
        private ActionResult SaveAndToDisplay(User user)
        {
            if (!this.ModelState.IsValid)
                return View(user);

            CurrentUser = user;
            return RedirectToAction("Display");
        }