示例#1
0
 public ActionResult Login(ModelDemo.Models.LoginViewModel l)
 {
     if (ModelState.IsValid)
     {
         return(RedirectToAction("index"));
     }
     else
     {
         return(View());
     }
 }
示例#2
0
 public ActionResult Login(ModelDemo.Models.LoginViewModel login)
 {
     return(View());
 }