// public ActionResult CheckOut(tbl_Booking booking, List <tbl_Passenger> tbl_Passenger) { if (Session[UtilContants.USER_LOGIN] == null) { return(RedirectToAction("Index", "Home")); } else { try { foreach (var item in tbl_Passenger) { item.isDelete = false; booking.tbl_Passenger.Add(item); } ITourService _tourService = new TourService(); if (_tourService.updateSeat(booking.TourID, tbl_Passenger.Count)) { _bookingService.SaveBooking(booking); return(Json(new { status = true })); } else { return(Json(new { status = false })); } } catch (Exception ee) { return(Json(new { status = false, ee })); } } }