public ActionResult verifyLogin(DbLogin Login_Block) { //generate the query to check the user name or passwod Dbclass cls = new Dbclass(); if (cls.CheckLogin(Login_Block.Usertxt, Login_Block.Passwordtxt) == 1) { return(View("AdminZone")); } else { return(View("Invalid")); } }