Uses of Class
edu.ucsb.cs156.dining.entities.Restaurant
-
Uses of Restaurant in edu.ucsb.cs156.dining.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.