public ActionResult SubmitStaff(Staff newStaff)//TODO tmove to admin controller { if ((bool)Session["isAdmin"]) { userDao.AddStaff(newStaff); //Fix Issue where refresh adds new staff entry over and over //Needs to redirect to action instead return(RedirectToAction("UserHome", new { login = Session["Name"] })); } //Fix RedirectToAction else { return(RedirectToAction("UserHome", new { login = Session["Name"] })); } }