Пример #1
0
 public static IEnumerable <RestaurantModels.Restaurant> GetBestReviewedRestaurantsTop3()
 {
     return(RestaurantAccessData.GetBestReviewedRestaurantsTop3());
 }
Пример #2
0
 public static IEnumerable <RestaurantModels.Restaurant> GetRestaurantsByLocationCityDescending()
 {
     return(RestaurantAccessData.GetRestaurantsByLocationCityDescending());
 }
Пример #3
0
 public static IEnumerable <RestaurantModels.Restaurant> GetAllRestaurantsByReviewDescending()
 {
     return(RestaurantAccessData.GetAllRestaurantsByReviewDescending());
 }
Пример #4
0
 public static double GetAvgReview(RestaurantModels.Restaurant restaurant)
 {
     return(RestaurantAccessData.GetAvgReview(restaurant));
 }
Пример #5
0
 public static IEnumerable <RestaurantModels.Restaurant> GetRestaurantsByNameAscending()
 {
     return(RestaurantAccessData.GetRestaurantsByNameAscending());
 }
Пример #6
0
 public static RestaurantModels.Restaurant GetRestaurantByName(string name)
 {
     return(RestaurantAccessData.GetRestaurantByName(name));
 }
Пример #7
0
 public static IEnumerable <RestaurantModels.Review> GetReviewsByRestaurantID(int id)
 {
     return(RestaurantAccessData.GetReviewsByRestaurantID(id));
 }
Пример #8
0
 public static void AddNewReview(RestaurantModels.Review review)
 {
     RestaurantAccessData.AddNewReview(review);
 }
Пример #9
0
 public static RestaurantModels.Restaurant GetRestaurantByID(int ID)
 {
     return(RestaurantAccessData.GetRestaurantByID(ID));
 }
Пример #10
0
 public static IEnumerable <Restaurant> ShowRestaurants()
 {
     return(RestaurantAccessData.ShowRestaurants());
 }
Пример #11
0
 public static void AddNewRestaurnt(RestaurantModels.Restaurant restaurant)
 {
     RestaurantAccessData.AddNewRestaurnt(restaurant);
 }
Пример #12
0
 public static Tuple <IEnumerable <RestaurantModels.Restaurant>, string> GetRestaurantFullName(string PartialName)
 {
     return(RestaurantAccessData.GetRestaurantFullName(PartialName));
 }
 public static void DeleteReview(RestaurantModels.Review review)
 {
     RestaurantAccessData.DeleteReview(review);
 }
 public static void EditReview(int id, RestaurantModels.Review review)
 {
     RestaurantAccessData.EditReview(id, review);
 }
 public static void EditRestaurant(int id, RestaurantModels.Restaurant restaurant)
 {
     RestaurantAccessData.EditRestaurant(id, restaurant);
 }
 public static void DeleteRestaurant(RestaurantModels.Restaurant restaurant)
 {
     RestaurantAccessData.DeleteRestaurnt(restaurant);
 }