Esempio n. 1
0
        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());
        }
Esempio n. 2
0
 public ActionResult CreateNew()
 {
     AccountController.ClearSurvey();
     AccountController.ClearSurveyId();
     return(RedirectToAction("Create"));
 }