public ActionResult MessagePass(Contact contact) { //Pass the data to store the record into the table databaseModel.Addcontact("insert into FeedBack(Name,Email,Message) values('" + contact.txtName + "','" + contact.txtEmail + "','" + contact.txtMessage + "')"); return(View("feedback")); }