Ejemplo n.º 1
0
 /// <summary>
 /// Creates the tag if it does not exist and adds a Tag reference to the unit,
 /// Draft
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// The id of the Unit
 /// </param>
 /// <param name='newTag'>
 /// The tag to create or reference
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async System.Threading.Tasks.Task <object> PostTagAsyncByidnewTagAsync(this IUnits operations, int id, CreateTagDto newTag, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.PostTagAsyncByidnewTagWithHttpMessagesAsync(id, newTag, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }