Example #1
0
        public ActionResult Sign_up()
        {
            People_Model people = new People_Model();

            ViewBag.genero = people.queryGenero();
            return(View());
        }
Example #2
0
 public ActionResult Sign_up(People_Model pm)
 {
     //ViewBag.test=Request["Email"];
     if (pm.createPeople())
     {
         return(RedirectToAction("../Home/Login"));
     }
     else
     {
         ViewBag.genero = pm.queryGenero();
         return(View());
     }
 }