public OtelIslemleri()
        {
            List <Otel> oteller = new List <Otel>();

            oteller = otelRepository.OtelleriAl();

            OtelAgaciOlustur(oteller);
        }
Exemple #2
0
        private void ComboBoxaDegerAta()
        {
            cmb_Oteller.Items.Clear();

            OtelRepository otelRepository = new OtelRepository();

            List <Otel> tempOteller = new List <Otel>();

            tempOteller = otelRepository.OtelleriAl();

            for (int i = 0; i < tempOteller.Count; i++)
            {
                cmb_Oteller.Items.Add(tempOteller[i].adi);
            }
        }
        public MusteriIslemleri()

        {
            List <Otel> oteller = new List <Otel>();

            oteller = otelRepository.OtelleriAl();
            yorumcuRepository.YorumculariAl(oteller);

            OtelAgaciOlustur(oteller);

            ilAgaci = new IlAgaci(oteller);


            hashMap = new HashMapChain(ilAgaci, oteller);
        }
Exemple #4
0
        private void UISistemYetkilileriPersonelListelemeIslemleri_Load(object sender, EventArgs e)
        {
            cmb_Oteller.Items.Clear();

            OtelRepository otelRepository = new OtelRepository();

            List <Otel> tempOteller = new List <Otel>();

            tempOteller = otelRepository.OtelleriAl();

            for (int i = 0; i < tempOteller.Count; i++)
            {
                cmb_Oteller.Items.Add(tempOteller[i].adi);
            }
        }