using ProRestaurant.Models.Restaurants; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ProRestaurant.Repository.Restaurants { public interface IRestaurantRepository { IEnumerable GetUsers(); Restaurant GetRestaurant(Func where); void Insert(Restaurant restaurant); void Remove(Restaurant restaurant); void Update(Restaurant restaurant); void Save(); } }