Exemplo n.º 1
0
        public ActionResult Edit()
        {
            //ViewBag.Name = SessionStateHelper.Get(SessionStateKeys.NAME);

            Article article = (Article)SessionStateHelper.Get(SessionStateKeys.NAME);

            return(View(article));
        }
        public ActionResult CompleteForm(string country)
        {
            System.Diagnostics.Debug.WriteLine("Country: {0}", (object)country);
            // in a real application, this is where the call to create the
            // new user account would be

            ViewBag.Name    = SessionStateHelper.Get(SessionStateKeys.NAME).ToString();
            ViewBag.Country = country;
            return(View());
        }
 public ActionResult CompleteForm(string country)
 {
     ViewBag.Name    = SessionStateHelper.Get(SessionStateKeys.NAME);
     ViewBag.Country = country;
     return(View());
 }