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")); } }
public ViewResult Membership(master_page_demo.Models.Member formdata) { //database return(View("Thanks", formdata)); }