public ActionResult DeleteUser(int id) //Action method for delete the user account { UserAccount user = userBl.GetUserById(id); userBl.DeleteUser(user); return(RedirectToAction("DisplayUser")); }