private async Task <FilebinResponse> uploadAllFiles(IReadOnlyList <IStorageItem> items)
        {
            var filebinApi = new FilebinApi(getCurrentFilebinBaseUrl());
            var result     = await uploadFile(filebinApi, items[0] as StorageFile);

            var uploadBin = result.BinName;

            for (var i = 1; i < items.Count; i++)
            {
                result = await uploadFile(filebinApi, items[i] as StorageFile, uploadBin);
            }

            return(result);
        }
 private async Task <FilebinResponse> uploadFile(FilebinApi api, StorageFile file, string binName = null)
 {
     UpdateProgress(file);
     return(await api.UploadFile(file, binName));
 }