//DELETE public async Task <int> DeleteRestaurant(int id) { RestaurantDAL DAL = new RestaurantDAL(_context); return(await DAL.DeleteRestaurant(id)); }
//UPDATE public async Task <int> UpdateRestaurant(Models.Restaurant restaurant) { RestaurantDAL DAL = new RestaurantDAL(_context); return(await DAL.UpdateRestaurant(restaurant)); }