public ActionResult Login(ModelDemo.Models.LoginViewModel l) { if (ModelState.IsValid) { return(RedirectToAction("index")); } else { return(View()); } }
public ActionResult Login(ModelDemo.Models.LoginViewModel login) { return(View()); }