namespace Yw.CAL.HttpClient
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public class BimfaceFileStd : BaseCAL, IBimfaceFileStd
|
{
|
protected override string Prefix
|
{
|
get { return $"{Yw.BLL.Bimface.ConfigHelper.HttpUrl}/Bimface/File/Std"; }
|
}
|
|
/// <summary>
|
///
|
/// </summary>
|
public async Task<List<BimfaceFileStdDto>> GetAll()
|
{
|
return await GetUrl("GetAll@V1.0").Get<List<BimfaceFileStdDto>>();
|
}
|
|
/// <summary>
|
///
|
/// </summary>
|
public async Task<BimfaceFileStdDto> GetByID(long ID)
|
{
|
var paras = new List<(string Name, object Value)>()
|
{
|
(nameof(ID),ID)
|
};
|
return await GetUrl("GetByID@V1.0").Get<BimfaceFileStdDto>(paras);
|
}
|
|
}
|
}
|