public ActionResult CustomerBooking(int id) { if ((bool)Session["LoggedIn"] == false) { return(RedirectToAction("LogIn")); } if (TempData["ChangeFlight"] != null) { ViewBag.ChangeFlight = (bool)TempData["ChangeFlight"]; } return(View(_AdminBll.customerBooking(id))); }