public APIController(IItemStore itemStore, IMenuStore menuStore, IRestaurantStore restaurantStore) { _itemStore = itemStore; _menuStore = menuStore; _restaurantStore = restaurantStore; }
public void setup() { _restaurantStore = Substitute.For<IRestaurantStore>(); _controller = new RestaurantsController(_restaurantStore); }
public RestaurantsController(IRestaurantStore store) { _store = store; }