示例#1
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='students'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <object> PostAsync(this ICertifiedStudents operations, IList <USCPEApiDTOAdvisementCertifiedStudent> students, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.PostWithHttpMessagesAsync(students, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
示例#2
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <object> GetAsync(this ICertifiedStudents operations, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
示例#3
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='students'>
 /// </param>
 public static object Post(this ICertifiedStudents operations, IList <USCPEApiDTOAdvisementCertifiedStudent> students)
 {
     return(operations.PostAsync(students).GetAwaiter().GetResult());
 }
示例#4
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static object Get(this ICertifiedStudents operations)
 {
     return(operations.GetAsync().GetAwaiter().GetResult());
 }