public ActionResult UpdatePothole(string id) { if (IsEmployee()) { return(View("UpdatePothole", potholeDAL.GetOnePotholes(id))); } else { return(RedirectToAction("Index", "Home")); } }
public ActionResult UpdatePothole(string id) { if (IsEmployee()) { return(View("UpdatePothole", potholeDAL.GetOnePotholes(id))); } else { return(RedirectToAction("Index", "Home")); } }