public RestaurantController(IRestaurantServices restaurantServices) { if (restaurantServices == null) { throw new ArgumentNullException(nameof(restaurantServices)); } _restaurantServices = restaurantServices; }
public RestaurantController() { _restaurantServices = new RestaurantServices(); }