Пример #1
0
 public virtual IList <ReferenceData> GetBicycleTypes()
 {
     return(_referenceDatas.GetBicycleTypesWithHttpMessagesAsync(Jwt.CreateAuthorizationHeader(null)).WaitForServiceCall());
 }
Пример #2
0
        /// <param name='operations'>
        /// The operations group for this extension method.
        /// </param>
        /// <param name='cancellationToken'>
        /// The cancellation token.
        /// </param>
        public static async Task <IList <ReferenceData> > GetBicycleTypesAsync(this IReferenceDatas operations, CancellationToken cancellationToken = default(CancellationToken))
        {
            HttpOperationResponse <IList <ReferenceData> > result = await operations.GetBicycleTypesWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false);

            return(result.Body);
        }