using ProRestaurant.Containers; using ProRestaurant.Models.Restaurants; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ProRestaurant.Repository.Restaurants { public interface IRestaurantRepository { List GetRestaurants(); List GetSearch(); List GetTradingHours(int restaurantId); RestaurantDetails GetRestaurant(Func where); void Insert(Restaurant restaurant); void Remove(Restaurant restaurant); void Update(RestaurantDetails restaurant); void RemoveTradeHours(int id); void Save(); } }