Class BookingController
java.lang.Object
com.equipmentrental.equipment_rental_system.controller.BookingController
-
Constructor Summary
ConstructorsConstructorDescriptionBookingController(BookingService bookingService, EquipmentService equipmentService, UserService userService) -
Method Summary
Modifier and TypeMethodDescriptioncancel(Long bookingId, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) list(org.springframework.ui.Model model) save(Booking booking, Long equipmentId, Long userId, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) showCreateForm(org.springframework.ui.Model model)
-
Constructor Details
-
BookingController
public BookingController(BookingService bookingService, EquipmentService equipmentService, UserService userService)
-
-
Method Details
-
list
-
showCreateForm
-
save
-
cancel
-