using Flurl.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yw.BLL;
using Yw.CAL.HttpClient;
namespace HStation.BLL
{
public partial class TransferRevitFile
{
private string _downloadUrl = $"{ConfigHelper.HttpUrl}/Core/File/DownloadSubFile@V1.0";
///
///
///
public async Task Download(string StorageHouse, string StorageCode)
{
return await new Yw.BLL.HttpFileHelper().Download(_downloadUrl, StorageHouse, StorageCode, ConfigHelper.CALType);
}
}
}