public void Edit(ChangeLog changelog)
        {
            try
            {
                if (changelog != null)
                {
                    db.Entry(changelog).State = EntityState.Modified;
                    db.SaveChanges();
                }

            }
            catch (Exception ex) { CommonTools.ErrorReporting(ex); }
        }
        public void Create(ChangeLog changelog)
        {
            try
            {
                if (changelog != null)
                {
                    db.ChangeLogs.Add(changelog);
                    db.SaveChanges();
                }

            }
            catch (Exception ex) { CommonTools.ErrorReporting(ex); }
        }