Example #1
0
        internal void DeleteConfiguration(string localFolder)
        {
            syncService.DeleteConfig(localFolder);

            SyncConfiguration.AllConfigurations.Remove(localFolder);
            SyncConfiguration.SaveAllConfigurations();

            UpdateSyncModels();
        }
Example #2
0
        internal void AddOrUpdateConfiguration(SyncConfiguration configuration)
        {
            syncService.AddConfig(configuration);

            SyncConfiguration.AllConfigurations[configuration.LocalFolder] = configuration;
            SyncConfiguration.SaveAllConfigurations();

            UpdateSyncModels();
        }