using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TravelAgencyWindow.Data;
using System.Windows.Input;

namespace TravelAgencyWindow.Model
{
    internal class ListHotelTest : INotifyPropertyChanged
    {
        List<Hotel> hotelList;

        public ListHotelTest()
        {
            Hotel hotel = new Hotel();
            hotel.Name = "Test";
            hotel.CountOfStars = 1;
            hotel.Country = new Country();
            hotel.Country.Name = "Test";
            hotelList = new List<Hotel>
            {
                hotel
            };
            //hotelList = GlobalData.ConnectionDB.Hotel.ToList();
        }

        public List<Hotel> HotelList { get => hotelList; set => hotelList = value; }

        public event PropertyChangedEventHandler PropertyChanged;
    }
}
