public IActionResult EditBooking(string BookingId) { return(View("EditBooking", BookingDAO.GetBooking(BookingId))); }
public IActionResult UpdateBooking(Booking booking) { BookingDAO.UpdateBooking(booking); return(View("BookingDetails", BookingDAO.GetBooking(booking.BookingId))); }
public IActionResult BookingDetails(string BookingId) { ViewBag.Name = CurUser.Name; return(View(BookingDAO.GetBooking(BookingId))); }