Example #1
0
 public ActionResult Login(string login, string senha)
 {
     if (sessao.AutenticarLogin(login, senha) == true)
     {
         return(RedirectToAction("Create", "Matriculas"));
     }
     return(RedirectToAction("Login"));
 }