private void pb_GuestLog_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         if (tb_GuestId.Text.Length == 0)
         {
             MessageBox.Show("אנא הזן תז");
             return;
         }
         Person person = bl.GetPerson(int.Parse(tb_GuestId.Text));
         if (person.Password != tb_GuestPass.Password)
         {
             MessageBox.Show("הסיסמה שגויה אנא הזן שנית:");
             return;
         }
         GuestPasswordBorder.Visibility = Visibility.Collapsed;
         lstRequest = bl.GetGuestRequests(int.Parse(tb_GuestId.Text)).ToList();
         lstRequest.RemoveAll(x => x.Status == RequestStatus.IRRELEVANT);
         RequestsViewList.ItemsSource = lstRequest;
         RequestsViewList.Visibility  = Visibility.Visible;
     }
     catch (Exception)
     {
         MessageBox.Show("הפרטים שמילאת אינם רשומים במערכת:");
     }
 }
        public MainWindow()
        {
            GuestRequest request = new GuestRequest();

            InitializeComponent();
            AddGuestRequest.DataContext = request;
            /* בנייה של גריד הוספת בקשת אירוח */
            areaComboBox.ItemsSource    = Enum.GetValues(typeof(BO.Areas));
            typeComboBox.ItemsSource    = Enum.GetValues(typeof(BO.HostingType));
            poolComboBox.ItemsSource    = Enum.GetValues(typeof(BO.Answer));
            jacuzziComboBox.ItemsSource = Enum.GetValues(typeof(BO.Answer));
            gardenComboBox.ItemsSource  = Enum.GetValues(typeof(BO.Answer));
            childrensAttractionsComboBox.ItemsSource = Enum.GetValues(typeof(BO.Answer));


            lstRequest = new List <GuestRequest>();
            lstRequest = bl.GetGuestRequests(212282610).ToList();//list that contiad all request of this person
            RequestsViewList.ItemsSource = lstRequest;
        }