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 512B

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