public ActionResult Index(List<SelectedItem> selItems, booking bookingDetails, FormCollection frm)
        {
            string tset = Convert.ToString(frm["testValue"]);
            BookingViewModel bookingViewModel = new BookingViewModel();

            bookingViewModel.bookingServices = new booking();

            bookingViewModel.serviceBillDeskDetails = db.ServiceBillDesks.ToList();

            bookingViewModel.SelectedItem = selItems;

            return View(bookingViewModel);
        }
 public JsonResult Submit(booking bookingDetails)
 {
     booking bookDetailsItems = new booking()
     {
         consumer_first_name = bookingDetails.consumer_first_name,
         consumer_last_name = bookingDetails.consumer_last_name,
         consumer_email = bookingDetails.consumer_email,
         consumer__mobileno = bookingDetails.consumer__mobileno,
         booking_start_datetime = bookingDetails.booking_start_datetime,
         booking_end_datetime = bookingDetails.booking_end_datetime,
         TotalQuantity = bookingDetails.TotalQuantity,
         TotalAmount = bookingDetails.TotalAmount
     };
     db.bookings.Add(bookingDetails);
     db.SaveChanges();
     return Json("Response from Create" + bookDetailsItems.ID);
 }