You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IRestaurantRepository.cs 550B

12345678910111213141516171819
  1. using ProRestaurant.Containers;
  2. using ProRestaurant.Models.Restaurants;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Threading.Tasks;
  7. namespace ProRestaurant.Repository.Restaurants
  8. {
  9. public interface IRestaurantRepository
  10. {
  11. List<RestaurantCard> GetSearch();
  12. Restaurant GetRestaurant(Func<Restaurant, bool> where);
  13. void Insert(Restaurant restaurant);
  14. void Remove(Restaurant restaurant);
  15. void Update(Restaurant restaurant);
  16. void Save();
  17. }
  18. }