Пример #1
0
 public ActionResult Index(string email, string password)
 {
     if (UserBO.CheckUser(email, password))
     {
         Session["Auth"] = true;
         return(RedirectToAction("Index", "ManagePage"));
     }
     else
     {
         ViewBag.error = true;
         return(View());
     }
 }