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