Beispiel #1
0
        public async Task <HttpResponseMessage> ToDestination(string destination, bool forceSyncingAll)
        {
            var result = await SynchronizationTask.SynchronizeDestinationAsync(destination + "/fs/" + this.FileSystemName, forceSyncingAll);

            return(this.GetMessageWithObject(result, HttpStatusCode.OK));
        }
Beispiel #2
0
        public async Task <HttpResponseMessage> ToDestination(string destination, bool forceSyncingAll)
        {
            var result = await SynchronizationTask.SynchronizeDestinationAsync(destination + "/fs/" + FileSystemName, forceSyncingAll).ConfigureAwait(false);

            return(GetMessageWithObject(result));
        }