예제 #1
0
 public ActionResult Login(Admin innLoggetAdmin)
 {
     if (_adminBLL.adminDB(innLoggetAdmin))
     {
         Session["LoggetInn"] = true;
         return(RedirectToAction("AdminSide"));
     }
     else
     {
         Session["LoggetInn"] = false;
         return(View());
     }
 }