Esempio n. 1
0
        public ActionResult FlightsPage()
        {
            ViewBag.ManagerName = Session["ManagerName"].ToString();
            List <FlightDetails> flightDetails = bussines.GetAllFlightDetails();

            ViewBag.FlightDetails = flightDetails;
            return(View());
        }
        public ActionResult FlightsPage()
        {
            string superVisorName = Session["SuperVisorName"].ToString();

            ViewBag.SuperVisorName = superVisorName;
            string superVisorDepartment = Session["SuperVisorDepartment"].ToString();

            ViewBag.Department = superVisorDepartment;
            List <FlightDetails> flightDetails = bussines.GetAllFlightDetails();

            ViewBag.FlightDetails = flightDetails;
            return(View());
        }