예제 #1
0
 public ViewResult login_page(master_page_demo.Models.Member logindata)
 {
     if (logindata.email_id == "*****@*****.**" && logindata.password == "1234")
     {
         return(View("conformation", logindata));
     }
     else
     {
         ViewBag.Message = "login not sucessfull check id and password";
         return(View("login_page"));
     }
 }
예제 #2
0
 public ViewResult Membership(master_page_demo.Models.Member formdata)
 {
     //database
     return(View("Thanks", formdata));
 }