Uses of Class
edu.ucsb.cs156.rec.entities.Restaurant
-
Uses of Restaurant in edu.ucsb.cs156.rec.controllers
Modifier and TypeMethodDescriptionThis method returns a single restaurant.RestaurantsController.postRestaurant
(String name, String description) This method creates a new restaurant.RestaurantsController.updateRestaurant
(Long id, @Valid Restaurant incoming) Update a single restaurant.Modifier and TypeMethodDescriptionRestaurantsController.allRestaurants()
This method returns a list of all restaurants.Modifier and TypeMethodDescriptionRestaurantsController.updateRestaurant
(Long id, @Valid Restaurant incoming) Update a single restaurant.