public ActionResult Book(FormCollection postedForm)
        {
            if (Session["user"] == null)
            {
                RedirectToAction("Login", "Account");
            }

            if (postedForm != null && postedForm.Count > 0)
            {
                int            selectdSch = int.Parse(postedForm["ScheduleId"]);
                int            fare       = int.Parse(postedForm["SelectedFare.FareId"]);
                BookingManager book       = new BookingManager();
                if (book.BookTickets(selectdSch, fare, ((UserDetailDO)Session["user"]).CustomerId))
                {
                    return(RedirectToAction("MyBooking"));
                }
                else
                {
                    TempData.Add("Error", "Failed to book ticket. Please try later");
                    return(RedirectToAction("Book", new { id = selectdSch, fareId = fare }));
                }
            }
            return(View("Search", new FlightSearch()));
        }