Example #1
0
 public ActionResult Login(string returnUrl)
 {
     using (var db = new ZpmDemoContext())
     {
         db.AspNetUsers.FirstOrDefault(); // make sure db and AspNet files are created by ZPM.NetDb.
     }
     ViewBag.ReturnUrl = returnUrl;
     return(View());
 }