public  void AddOrUpdate(string key, string value)
        {
            var dbObj = this.configList.SingleOrDefault(x => x.Key == key);
            if (dbObj != null)
            {

                try
                {
                    dbObj.Value = value;
                    this.fileDbmgr.Save();
                }
                catch { }
            }
            else
            {
                Configuration config = new Configuration();
                config.Key = key;
                config.Value= value;
                int maxid = configList.Max(x => x.ID);
                config.ID = maxid + 1;
                this.configList.Add(config);
                this.fileDbmgr.Save();
            }
        }
 public  void Save(Configuration item)
 {
     this.fileDbmgr.Save();
 }