public static Asset CreateAsset(this IRecordsManagerClient rmClient, Asset asset) { return(rmClient.Post <IEnumerable <Asset> >(POST_ASSET.FormatResourceUrl(), new List <Asset>() { asset }).First()); }
public static IEnumerable <Asset> CreateAssets(this IRecordsManagerClient rmClient, IEnumerable <Asset> assets) { return(rmClient.Post <IEnumerable <Asset> >(POST_ASSET.FormatResourceUrl(), assets)); }