public ActionResult Index() { AccountController.ClearSurvey(); AccountController.ClearSurveyId(); var id = Request.QueryString["id"]; if (id != null) { UpdateList(); UserViewModel u = listUser.Find(l => l.Id == new Guid(id)); if (u != null) { u.IsComplete = true; u.UpdateUser(u); } } return(View()); }
public ActionResult CreateNew() { AccountController.ClearSurvey(); AccountController.ClearSurveyId(); return(RedirectToAction("Create")); }