Exemplo n.º 1
0
        /// <summary>
        /// DELETE /syncpoint/link.svc/{TOKEN}
        /// deletes entity that matches the token
        /// doesn't return anything
        /// </summary>
        public static void ExecuteLinkTokenDelete()
        {
            if (_currentSharedLink == null)
            {
                Console.WriteLine("You need to call ExecuteLinksPost() first");
                return;
            }
            var localFilePath = ConfigurationHelper.UploadFileExcel;

            LinkService.DeleteSharedLink(_currentSharedLink.Token);
            RemoveFilePermanently(localFilePath);
            RemoveFolderPermanently();
        }