public ActionResult Delete() { User_Controller _USerDatalayer = new User_Controller(); bool Result = _USerDatalayer.UserDisableEnable(Request.Form["Email"].ToString()); if (Result) { TempData["AlertMessage"] = "Sucess"; } else { TempData["AlertMessage"] = "Error"; } return(RedirectToAction("Index")); }