private void SortList_SelectedIndexChanged(object sender, EventArgs e)
        {
            //MessageBox.Show(SortList.SelectedIndex.ToString());
            List <FeedBackDTO> _feedBacks1 = _entityBL.SortFeedBacks(_feedBacks, SortList.SelectedIndex + 1);

            Reviews.Controls.Clear();

            foreach (FeedBackDTO feed in _feedBacks1)
            {
                Label label = new Label();
                label.Size = new Size(600, 1000);
                label.Text = feed.text + $"\n {_entityBL.GetUserById(feed.user_id).first_name} {_entityBL.GetUserById(feed.user_id).last_name} \n {feed.Date.ToString()}";
                Reviews.Controls.Add(label);
            }
        }
        private void LoginButton_Click(object sender, EventArgs e)
        {
            if (String.IsNullOrWhiteSpace(EmailTextBox.Text) || String.IsNullOrWhiteSpace(PassTextBox.Text))
            {
                MessageBox.Show("You must enter password and login", "Warning!!!");
                EmailTextBox.Text = "";
                PassTextBox.Text  = "";
                return;
            }
            else
            {
                var res = _entityBL.Login(EmailTextBox.Text, PassTextBox.Text);

                var user = _entityBL.GetUserById(res);

                if (user != null)
                {
                    var MarketForm = Program.Container.Resolve <MenuForm>(new ParameterOverride("user", user));
                    DialogResult = DialogResult.OK;
                    MarketForm.ShowDialog();
                    this.Close();
                    return;
                }
            }
            MessageBox.Show("Incorrect password or login!!!", "Error");
        }