public ActionResult passQuery(DbContact contact) { //generate the query to check the user name or passwod Dbclass instance = new Dbclass(); instance.Addcontact(contact.txtName, "ijok", "@as.com", "asas"); return(View("Cofirmation")); }