예제 #1
0
 public ActionResult Registro(RegistroModel registro)
 {
     if (ModelState.IsValid)
     {
         return RedirectToAction("Obrigado",registro);
     }
     else
     {
         return View(registro);
     }
 }
예제 #2
0
        public ActionResult Registro()
        {
            var registro = new RegistroModel();

            return View(registro);
        }
예제 #3
0
 public ActionResult Obrigado(RegistroModel registro)
 {
     return View(registro);
 }