public SyncActionResult ImportPost(SyncActionOptions options)
        {
            var hubClient = new HubClientService(options.ClientId);
            var actions   = uSyncService.PerformPostImport(
                settings.RootFolder, settings.DefaultSet, options.Actions);

            return(new SyncActionResult(actions));
        }
        public SyncActionResult ExportHandler(SyncActionOptions options)
        {
            var hubClient = new HubClientService(options.ClientId);

            var actions = uSyncService.ExportHandler(options.Handler, new uSyncImportOptions
            {
                Callbacks  = hubClient.Callbacks(),
                HandlerSet = settings.DefaultSet,
                RootFolder = settings.RootFolder
            });

            return(new SyncActionResult(actions));
        }
        public SyncActionResult ImportHandler(SyncActionOptions options)
        {
            var hubClient = new HubClientService(options.ClientId);

            var actions = uSyncService.ImportHandler(options.Handler, new uSyncImportOptions
            {
                Callbacks  = hubClient.Callbacks(),
                HandlerSet = settings.DefaultSet,
                RootFolder = settings.RootFolder,
                Flags      = options.Force ? Core.Serialization.SerializerFlags.Force : Core.Serialization.SerializerFlags.None
            });

            return(new SyncActionResult(actions));
        }