public bool UpdateHistory(History history)
        {
            using (var db = new MysqlDataContext())
            {
                try
                {
                    db.Attach(history);
                    db.Entry(history).State = EntityState.Modified;
                    return(db.SaveChanges() > 0);
                }

                catch (DbUpdateConcurrencyException)
                {
                    return(false);
                }
            }
        }
        public bool UpdateOwnComment(OwnComments own)
        {
            using (var db = new MysqlDataContext())
            {
                try
                {
                    db.Attach(own);
                    db.Entry(own).State = EntityState.Modified;
                    return(db.SaveChanges() > 0);
                }

                catch (DbUpdateConcurrencyException)
                {
                    return(false);
                }
            }
        }