// GET: Delete public ActionResult Index(int id) { EMPModelView empl = new EMPModelView(); empl.Getdelete(id); return(RedirectToAction("index", "Home")); }