public ValuesController(IRestaurantRepositry restaurantRepositry) { _restaurantRepositry = restaurantRepositry; }
public SystemController(IRestaurantRepositry restaurantRepository) { _restaurantRepository = restaurantRepository; }
public RestaurantViewModel() { restaurantRepo = new MockRestaurantRepositry(); Restaurants = restaurantRepo.GetAll(); AvailableRestaurants = Restaurants.Count(); }