private void setTextBoxesWithData(MeetModel meeting)
        {
            OracleSQLConnector oracleSQLConnector = new OracleSQLConnector();
            int globalTrainerID = GlobalClass.getTrainerID();

            GlobalClass.setTrainerID(meeting.IDTrainer);
            TrainerModel trainer = oracleSQLConnector.loadTrainerFromDataBase(meeting.IDTrainer);

            GlobalClass.setTrainerID(globalTrainerID);

            PlaceModel place = oracleSQLConnector.loadPlaceFromDataBase(meeting.IDPlace);

            trainerTextBox.Text            = trainer.getFullName();
            trainerPhoneNumberTextBox.Text = trainer.getPhoneNumberStr();
            placeTextBox.Text       = place.getFullDetails();
            dateAndHourTextBox.Text = meeting.getDateAndHourStr();
        }
        private void loadUserData()
        {
            OracleSQLConnector oracleSQLConnector = new OracleSQLConnector();
            TrainerModel       trainer            = oracleSQLConnector.loadTrainerFromDataBase();

            trainerNameTextBlock.Text        = trainer.getFullName();
            trainerEmailTextBlock.Text       = trainer.getEmailAddress();
            trainerPhoneNumberTextBlock.Text = trainer.getPhoneNumberStr();

            OracleSQLConnectorImages connector = new OracleSQLConnectorImages();

            byte[] blob = trainer.getImageBlob();//connector.getImageBytes(GlobalClass.getTrainerID());
            if (blob != null)
            {
                BitmapImage newImg = ToImage(blob);
                userImage.Source = newImg;
            }
        }