public SyncActionResult ImportPost(SyncActionOptions options)
        {
            var hubClient = new HubClientService(hubContext, options.ClientId);

            var handlerSet = !string.IsNullOrWhiteSpace(options.Set)
                ? options.Set : uSyncConfig.Settings.DefaultSet;

            var actions = uSyncService.PerformPostImport(
                uSyncConfig.GetRootFolder(),
                handlerSet,
                options.Actions);

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

            var handlerSet = !string.IsNullOrWhiteSpace(options.Set)
                ? options.Set : uSyncConfig.Settings.DefaultSet;

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

            return(new SyncActionResult(actions));
        }