Пример #1
0
 /// <summary>
 /// Post a single asset
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='client'>
 /// The name of the client account.
 /// </param>
 /// <param name='id'>
 /// The Id of the asset
 /// </param>
 /// <param name='asset'>
 /// The Asset to insert/update. contained in the httppost body
 /// </param>
 public static string PostAsset(this IAssets operations, string client, string id, Asset asset)
 {
     return(operations.PostAssetAsync(client, id, asset).GetAwaiter().GetResult());
 }