public static async Task <OrganizationUnitDto> PutByIdAsync(this IOrganizationUnits operations, int key, OrganizationUnitDto body = default(OrganizationUnitDto), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.PutByIdWithHttpMessagesAsync(key, body, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Esempio n. 2
0
 public static async Task <OrganizationUnitDto> PutByIdAsync(this IOrganizationUnits operations, int id, OrganizationUnitDto organizationUnitDto, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.PutByIdWithHttpMessagesAsync(id, organizationUnitDto, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }