public void InsertForm()
        {
            using (VaranegarEntities db = new VaranegarEntities())
            {
                BlogGroups pg = new BlogGroups();

                pg.BlogGroupID       = Guid.NewGuid();
                pg.BlogGroupTitle    = txtTitle.Text;
                pg.En_BlogGroupTitle = txtEN_Title.Text;
                pg.BlogGroupName     = txtName.Text;
                pg.Priority          = Convert.ToInt32(txtPri.Text);
                pg.IsDelete          = false;
                db.BlogGroups.Add(pg);
                db.SaveChanges();
            }
        }
        public void InsertForm()
        {
            using (MashadCarpetEntities db = new MashadCarpetEntities())
            {
                BlogGroups pg = new BlogGroups();
                pg.BlogGroupID          = Guid.NewGuid();
                pg.BlogGroupTitle       = txtTitle.Text;
                pg.BlogGroupName        = txtName.Text;
                pg.IsDelete             = false;
                pg.EN_BlogGroupTitle    = txtEN_Title.Text;
                pg.Rus_BlogGroupTitle   = txtRus_Title.Text;
                pg.China_BlogGroupTitle = txtChina_Title.Text;

                db.BlogGroups.Add(pg);
                db.SaveChanges();
            }
        }