public GameScannersSettings GetSettings()
 {
     if (SettingsCollection.Count() == 0)
     {
         var settings = new GameScannersSettings {
             CrcExcludeFileTypes = new List <string> {
                 "*.chd"
             }
         };
         SettingsCollection.Insert(settings);
         return(settings);
     }
     else
     {
         return(SettingsCollection.FindAll().First());
     }
 }
 public void SetSettings(GameScannersSettings settings)
 {
     settings.Id = 0;
     SettingsCollection.Upsert(settings);
 }